joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4300e9
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x71c
mov eax, dword [0x5c3dd4]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
test edx, edx
je 0x43030e
test esi, esi
je 0x43030e
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x45c], ebx
mov dword [ebp - 0x458], ebx
mov dword [ebp - 0x454], ebx
mov dword [ebp - 0x450], ebx
mov dword [ebp - 0x44c], ebx
mov dword [ebp - 0x448], ebx
mov dword [ebp - 0x334], ebx
mov dword [ebp - 0x330], ebx
mov dword [ebp - 0x32c], ebx
mov dword [ebp - 0x328], ebx
mov dword [ebp - 0x324], ebx
mov dword [ebp - 0x320], ebx
sub eax, ebx
je 0x4302df
sub eax, 1
je 0x430181
sub eax, 1
je 0x430247
sub eax, 1
jne 0x4302f9
mov edi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea eax, [ebp - 0x108]
push eax
push dword [edx + 4]
call edi
test eax, eax
je 0x4302da
push ebx
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0041dc21
test eax, eax
je 0x4302da
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 4]
call edi
test eax, eax
je 0x43023f
push ebx
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0041dc21
test eax, eax
je 0x43023f
cmp dword [ebp + 0x10], 1
jne 0x43029f
test byte [ebp - 0x43c], 0x10
jne 0x4302da
test byte [ebp - 0x314], 0x10
jne 0x43023f
mov ecx, dword [ebp - 0x318]
mov eax, dword [ebp - 0x31c]
cmp dword [ebp - 0x440], ecx
ja 0x43023f
jb 0x4302da
cmp dword [ebp - 0x444], eax
jb 0x4302da
cmp dword [ebp - 0x440], ecx
jb 0x4302f9
ja 0x43023f
cmp dword [ebp - 0x444], eax
jbe 0x4302f9
xor ebx, ebx
inc ebx
jmp 0x4302f9
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
lea eax, [ebp - 0x71c]
push 0x408
push 0x160
push eax
push ebx
push dword [edx + 4]
call edi
test eax, eax
je 0x4302f9
push 0x408
push 0x160
lea eax, [ebp - 0x5bc]
push eax
push ebx
push dword [esi + 4]
call edi
test eax, eax
je 0x4302f9
lea eax, [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x60c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov ebx, eax
jmp 0x4302f9
push dword [ebp - 0x328]
lea ecx, [ebp - 0x454]
push dword [ebp - 0x32c]
call fcn.0042f821
test al, al
jne 0x4302da
push dword [ebp - 0x328]
lea ecx, [ebp - 0x454]
push dword [ebp - 0x32c]
call fcn.0042f840
xor ebx, ebx
test al, al
setne bl
jmp 0x4302f9
or ebx, 0xffffffff
jmp 0x4302f9
push dword [esi + 8]
mov eax, dword [edx]
push dword [edx + 8]
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test eax, eax
jns 0x4302f6
xor eax, eax
jmp 0x4302fb
movsx ebx, ax
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005235c9
mov esp, ebp
pop ebp
ret 0xc
call fcn.00409070
int3

Function at 0x430bc7
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.0047a712
call fcn.00409b64
cmp dword [eax + 0x14], 0
jne 0x430be2
mov ecx, esi
pop esi
jmp fcn.0042ffbe
pop esi
ret
Function at 0x43301d
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x178]
mov bx, word [ebp + 8]
mov edi, eax
push 2
movzx edx, bx
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
cmp byte [ebp + 0xc], 0
jne 0x43305e
test edi, edi
js 0x43305e
cmp al, 0x20
je 0x433053
cmp bx, 0x71
jne 0x43305e
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x190]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x45e0f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov edx, 0x104
xor ecx, ecx
mov eax, dword [edi + 4]
cmp eax, edx
ja 0x45e299
je 0x45e2c3
cmp eax, 0xa1
jb 0x45e306
cmp eax, 0xa2
jbe 0x45e2c3
cmp eax, 0xa3
jbe 0x45e306
cmp eax, 0xa5
jbe 0x45e2c3
cmp eax, 0xa6
jbe 0x45e306
cmp eax, 0xa8
jbe 0x45e2c3
cmp eax, 0x100
jne 0x45e306
cmp dword [esi + 0xc0], 0xffffffff
je 0x45e2c3
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x45e2c1
mov eax, dword [edi + 8]
sub eax, 0x21
je 0x45e221
sub eax, 1
jne 0x45e2c1
mov ecx, dword [esi + 0xc0]
mov eax, dword [esi + 0xbc]
add eax, ecx
lea edi, [ecx + 1]
jmp 0x45e1d4
mov eax, edi
cdq
idiv dword [esi + 0xbc]
mov eax, dword [esi]
mov ecx, edx
mov dword [ebp + 8], ecx
push ecx
mov ecx, esi
call dword [eax + 0x27c]
test eax, eax
jne 0x45e1da
mov eax, dword [esi + 0xbc]
inc edi
add eax, dword [esi + 0xc0]
cmp edi, eax
jl 0x45e1aa
jmp 0x45e219
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 8]
mov dword [esi + 0x24c], 1
call dword [eax + 0x214]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x210]
mov ecx, eax
call fcn.00414d03
mov edx, dword [esi]
mov ecx, esi
push dword [esi + 0xc0]
call dword [edx + 0x270]
and dword [esi + 0x24c], 0
xor eax, eax
inc eax
jmp 0x45e32c
mov ecx, dword [esi + 0xc0]
lea edi, [ecx - 1]
add edi, dword [esi + 0xbc]
cmp edi, ecx
jle 0x45e219
mov eax, edi
cdq
idiv dword [esi + 0xbc]
mov eax, dword [esi]
mov ecx, edx
mov dword [ebp + 8], ecx
push ecx
mov ecx, esi
call dword [eax + 0x27c]
test eax, eax
jne 0x45e25c
dec edi
cmp edi, dword [esi + 0xc0]
jg 0x45e234
jmp 0x45e219
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 8]
mov dword [esi + 0x24c], 1
call dword [eax + 0x214]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x210]
mov ecx, eax
call fcn.00414d03
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0xc0]
call dword [eax + 0x270]
jmp 0x45e212
cmp eax, 0x200
jb 0x45e306
cmp eax, 0x202
jbe 0x45e2c3
cmp eax, 0x203
jbe 0x45e306
cmp eax, 0x205
jbe 0x45e2c3
add eax, 0xfffffdf9
cmp eax, 1
ja 0x45e306
jmp 0x45e2c3
xor ecx, ecx
mov eax, dword [esi + 0xfc]
test eax, eax
je 0x45e2e3
cmp dword [eax + 0x20], 0
je 0x45e2e3
push edi
push ecx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x45e304
cmp dword [eax + 0x20], 0
je 0x45e304
push edi
push 0
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
xor ecx, ecx
cmp dword [edi + 4], 0x203
jne 0x45e324
lea eax, [esi + 0x2250]
test eax, eax
je 0x45e31c
mov ecx, dword [eax + 0x20]
cmp dword [edi], ecx
je 0x45e219
push edi
mov ecx, esi
call fcn.00456b41
pop edi
pop esi
pop ebp
ret 4
Function at 0x471c71
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5c3dd4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
call fcn.00414b3b
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x21
call esi
push 0x20
mov ebx, eax
call esi
mov ecx, edi
mov dword [ebp - 0x1c], eax
call fcn.0040fdc0
mov edi, dword [ebp - 0x18]
mov esi, eax
test edi, 0x1000
je 0x471ce9
cmp esi, 3
jne 0x471cd8
push 2
pop esi
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x471ce9
xor eax, eax
jmp 0x471d3e
cmp esi, 0xa
jl 0x471cf3
cmp esi, 0x11
jle 0x471cf8
cmp esi, 4
jne 0x471d3c
test edi, 0x800
je 0x471d05
push 2
pop eax
jmp 0x471d3e
mov eax, dword [ebp - 0x1c]
neg ebx
push ebx
neg eax
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
test edi, 0x200
je 0x471d3c
mov eax, esi
sub eax, 4
je 0x471d89
sub eax, 9
je 0x471d75
sub eax, 1
je 0x471d65
dec eax
sub eax, 1
je 0x471d51
sub eax, 1
je 0x471d89
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005235c9
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 8]
setle al
dec eax
and eax, 5
add eax, 0xa
jmp 0x471d3e
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 0x10]
setl al
add eax, 0xb
jmp 0x471d3e
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 0x10]
setl al
lea eax, [eax*2 + 0xa]
jmp 0x471d3e
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 8]
setg al
lea eax, [eax*4 + 0xb]
jmp 0x471d3e
Function at 0x47b32e
Capabilities:
Get common file path

Disassembly:
push 0x7c
mov eax, 0x564c0c
call fcn.00523e89
mov ebx, ecx
mov dword [ebp - 0x20], ebx
mov ecx, dword [ebp + 0xc]
call fcn.0044c33c
test eax, eax
je 0x47b4cf
lea ecx, [ebp - 0x1c]
xor edi, edi
push ecx
lea ecx, [ebp + 8]
mov dword [ebp - 0x1c], edi
push ecx
lea ecx, [ebx + 4]
call fcn.0047b211
test eax, eax
je 0x47b371
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0040b7e3
push eax
lea ecx, [ebp - 0x18]
call fcn.004097b3
mov esi, 0x104
mov dword [ebp - 4], edi
push esi
lea ecx, [ebp - 0x18]
call fcn.00409c99
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.0040a2fd
call fcn.0040b7e3
push eax
lea ecx, [ebp - 0x14]
call fcn.004097b3
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00409c99
mov esi, dword [ebp - 0x18]
push eax
push edi
push 0x57da34
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.0040a2fd
push edi
push 0x4000100
push 2
push edi
push edi
mov edi, dword [ebp - 0x14]
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
jne 0x47b409
lea ecx, [edi - 0x10]
call fcn.00409d09
lea ecx, [esi - 0x10]
jmp 0x47b4ca
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00415306
push 0
push 0x1000
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x88]
call fcn.0040cd59
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x88]
mov dword [ebx + 0x20], 1
push edx
mov byte [ebp - 4], 4
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x88]
call fcn.0040d316
and dword [ebx + 0x20], 0
lea ecx, [ebp - 0x88]
call fcn.0040ce69
lea ecx, [ebp - 0x40]
call fcn.004153bb
lea eax, [ebp + 8]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebx + 4]
call fcn.0044985b
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
lea ecx, [edi - 0x10]
call fcn.00409d09
lea ecx, [esi - 0x10]
call fcn.00409d09
xor eax, eax
inc eax
jmp 0x47b4d1
call fcn.00409d09
xor eax, eax
call fcn.00523de7
ret 8
Function at 0x4c85f6
Capabilities:
Get file system object information

Disassembly:
push 0x270
mov eax, 0x56888b
call fcn.00523e52
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.0040b8ac
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x278], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x278]
push 0
push 0x571140
call fcn.0041976e
cmp eax, 0xffffffff
jne 0x4c86aa
push 0
push 0x577d78
lea ecx, [ebp - 0x278]
call fcn.0041976e
cmp eax, 0xffffffff
jne 0x4c86aa
push 0
push 0x571d20
lea ecx, [ebp - 0x278]
call fcn.0041976e
cmp eax, 0xffffffff
jne 0x4c86aa
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.0040b8ac
pop ecx
lea edi, [eax + 0x10]
mov dword [ebp - 0x27c], edi
xor ecx, ecx
mov byte [ebp - 4], 1
push ecx
lea eax, [ebp - 0x114]
push eax
push 0x104
push ecx
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
jne 0x4c8686
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov ebx, eax
call fcn.00409d09
jmp 0x4c86d9
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x278]
call fcn.0040ae98
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0
call fcn.00409d09
mov esi, dword [ebp - 0x278]
push 0x105
push 0x160
lea eax, [ebp - 0x274]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x4c86d0
mov ebx, dword [ebp - 0x274]
jmp 0x4c86d9
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.00409d09
mov eax, ebx
call fcn.00523dfc
ret
Function at 0x4d5167
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x1b8]
test al, al
jns 0x4d5186
or ecx, 0xffffffff
jmp 0x4d518c
mov ecx, dword [0x5c36ec]
mov eax, dword [esi]
lea edx, [ebp - 4]
push edx
push ecx
mov ecx, esi
call dword [eax + 0x2b4]
push dword [ebp - 4]
mov dword [ebp - 8], eax
push 0x5c3984
call fcn.0040a371
mov edi, eax
pop ecx
pop ecx
cmp edi, esi
je 0x4d5230
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x4d5230
test edi, edi
je 0x4d51e1
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x228]
push eax
push 0x5c3738
call fcn.0040a371
pop ecx
pop ecx
mov ebx, eax
jmp 0x4d51e3
xor ebx, ebx
mov eax, dword [ebp - 8]
cmp eax, 2
jne 0x4d523b
test ebx, ebx
je 0x4d521c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c0]
test al, 0x40
je 0x4d5230
cmp dword [ebp - 4], 0
je 0x4d521c
mov eax, dword [ebx]
mov ecx, ebx
push esi
call dword [eax + 0x24c]
mov ecx, dword [ebp + 8]
neg eax
sbb eax, eax
inc eax
mov dword [ecx], eax
mov eax, esi
jmp 0x4d5232
mov eax, dword [esi]
mov ecx, esi
push 5
push 0
push edi
call dword [eax + 0x1f8]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 3
jne 0x4d5230
test edi, edi
je 0x4d5230
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x184]
test eax, eax
je 0x4d5230
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18c]
test eax, eax
je 0x4d5230
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x240]
mov eax, dword [esi]
mov ecx, esi
push 0
push 1
push 5
push edi
call dword [eax + 0x34c]
mov ecx, dword [ebp + 8]
xor edx, edx
test eax, eax
setne dl
mov dword [ecx], edx
jmp 0x4d5232
Function at 0x4d700e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
mov edx, dword [0x5d0ed4]
push ebx
push esi
push edi
mov edx, dword [eax + edx*4]
mov ebx, ecx
mov eax, dword [0x5d0084]
cmp eax, dword [edx + 4]
jle 0x4d7069
mov esi, 0x5d0084
push esi
call fcn.0052372b
cmp dword [0x5d0084], 0xffffffff
pop ecx
jne 0x4d7069
call fcn.0040b7e3
push eax
mov ecx, 0x5d0080
call fcn.004097b3
push 0x56d118
call fcn.00523b6c
push esi
call fcn.005236ec
pop ecx
pop ecx
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x4d710b
mov eax, dword [ebx + 0x34c]
test eax, eax
je 0x4d7102
cmp dword [eax + 0x20], 0
je 0x4d7102
test eax, eax
je 0x4d708f
mov eax, dword [eax + 0x20]
cmp dword [edi], eax
jne 0x4d7102
mov eax, dword [edi + 4]
sub eax, 1
je 0x4d70d6
sub eax, 1
je 0x4d70ac
sub eax, 1
jne 0x4d7102
mov esi, 0x428e
jmp 0x4d70db
push 0x11
mov esi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4d70db
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x340]
test eax, eax
je 0x4d70db
add esi, 3
jmp 0x4d70db
mov esi, 0x3ea0
push esi
call fcn.0040a240
test eax, eax
je 0x4d710b
push esi
push eax
mov ecx, 0x5d0080
call fcn.00409f6a
test eax, eax
je 0x4d710b
mov eax, dword [0x5d0080]
mov dword [edi + 0xc], eax
xor eax, eax
inc eax
jmp 0x4d7104
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
call fcn.00409070
int3
Function at 0x4e005c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x4e00aa
push esi
mov ebx, 0x811c9dc5
xor edi, edi
call fcn.0052f170
xor edx, edx
mov dword [ebp + 8], 0xa
pop ecx
mov ecx, eax
div dword [ebp + 8]
inc eax
test ecx, ecx
je 0x4e009f
mov edx, ecx
movsx ecx, byte [edi + esi]
add edi, eax
imul ebx, ebx, 0x1000193
xor ebx, ecx
cmp edi, edx
jb 0x4e008d
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00409070
int3
Function at 0x4fb79e
Capabilities:
Get common file path

Disassembly:
push 0x124
mov eax, 0x56aec5
call fcn.00523e52
mov ebx, ecx
mov dword [ebp - 0x12c], ebx
call fcn.0050ceb2
push 0x1c4
call fcn.00408c41
pop ecx
mov dword [ebp - 0x128], eax
and dword [ebp - 4], 0
test eax, eax
je 0x4fb7e1
push 0
push dword [ebx + 0x60]
mov ecx, eax
call fcn.0050d4c3
jmp 0x4fb7e3
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
push eax
call fcn.0050c2fc
call fcn.00409b16
mov esi, 0x104
mov eax, dword [eax + 4]
mov ebx, dword [eax + 0x8c]
lea eax, [ebp - 0x114]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x114]
push eax
call fcn.0052f170
mov edi, eax
pop ecx
mov byte [ebp + edi - 0x114], 0x5c
inc edi
cmp edi, esi
jae 0x4fba00
xor eax, eax
mov byte [ebp + edi - 0x114], 0
mov dword [ebp - 0x128], eax
test ebx, ebx
je 0x4fb9fa
xor esi, esi
mov dword [ebp - 0x124], esi
cmp dword [ebx + 4], eax
jle 0x4fb9fa
call fcn.0040b7e3
push eax
lea ecx, [ebp - 0x118]
call fcn.004097b3
mov eax, dword [ebx]
xor ecx, ecx
inc ecx
push ecx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x114]
push edi
push ecx
push esi
lea ecx, [ebp - 0x118]
push ecx
mov ecx, ebx
call dword [eax + 0xc]
test eax, eax
je 0x4fb9d8
push 0x57a7dc
mov esi, 0x57a7e0
lea ecx, [ebp - 0x118]
push esi
call fcn.004358f5
push esi
push 0x57737c
lea ecx, [ebp - 0x118]
call fcn.004358f5
push esi
push 0x57a7dc
lea ecx, [ebp - 0x118]
call fcn.004358f5
call fcn.0040b7e3
push eax
lea ecx, [ebp - 0x11c]
call fcn.004097b3
mov eax, dword [ebp - 0x128]
mov byte [ebp - 4], 2
cmp eax, 9
jne 0x4fb904
push dword [ebp - 0x118]
lea eax, [ebp - 0x11c]
push str.10__Ts
push eax
call fcn.0040ca7e
add esp, 0xc
jmp 0x4fb936
jge 0x4fb924
push dword [ebp - 0x118]
inc eax
push eax
lea eax, [ebp - 0x11c]
push str._d__Ts
push eax
call fcn.0040ca7e
add esp, 0x10
jmp 0x4fb936
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x11c]
call fcn.0040b743
push 0x1c4
call fcn.00408c41
pop ecx
mov dword [ebp - 0x130], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4fb960
mov ecx, eax
call fcn.004af98d
mov ecx, eax
mov dword [ebp - 0x120], eax
jmp 0x4fb968
xor ecx, ecx
mov dword [ebp - 0x120], ecx
mov eax, dword [ecx]
mov esi, dword [ebp - 0x11c]
push esi
mov byte [ebp - 4], 2
call dword [eax + 0xb4]
mov ecx, dword [ebp - 0x120]
mov eax, dword [ebp - 0x124]
add eax, 0xe110
push eax
mov edx, dword [ecx]
call dword [edx + 0xb0]
push dword [ebp - 0x124]
mov ecx, ebx
call fcn.004201b7
mov ecx, dword [ebp - 0x120]
push dword [eax]
mov edx, dword [ecx]
call dword [edx + 0xc8]
mov ecx, dword [ebp - 0x120]
push ecx
mov ecx, dword [ebp - 0x12c]
call fcn.0050c2fc
inc dword [ebp - 0x128]
lea ecx, [esi - 0x10]
call fcn.00409d09
mov esi, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x118]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00409d09
inc esi
mov dword [ebp - 0x124], esi
cmp esi, dword [ebx + 4]
jl 0x4fb859
call fcn.00523dfc
ret
call fcn.0052410f
int3

Function at 0x544c56
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00544ad5
Function at 0x545c3d
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005458fd
Function at 0x55440c9
Capabilities:
Copy file
Create process on windows
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x53f40dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x404]
push edi
push 0x200
push eax
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push 0x80
push 4
push ebx
push ebx
push 3
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x5544161
call edi
cmp eax, 5
je 0x5544149
cmp eax, 0x20
jne 0x5544132
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x5544104
push 0x10
push 0x552d41c
push eax
push 0x552d658
call fcn.05547b17
pop ecx
pop ecx
push eax
jmp 0x5544155
push 0x10
push 0x552d41c
push 0x552d548
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x5544216
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push 0x552d6c8
call fcn.05547b17
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop ecx
pop ecx
push eax
call ebx
push esi
push 0x552d6c8
call fcn.05547b17
pop ecx
pop ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x55441be
call edi
push 0x10
push 0x552d41c
cmp eax, 5
jne 0x55441ae
push 0x552d6d8
push 0
jmp 0x5544156
push eax
push 0x552d808
call fcn.05547b17
pop ecx
pop ecx
push eax
jmp 0x55441aa
push 1
push esi
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x55441ef
call edi
push 0x10
push 0x552d41c
cmp eax, 5
jne 0x55441e7
push 0x552d898
jmp 0x55441aa
push eax
push 0x552d9d8
jmp 0x55441b4
push esi
push 0x552d6c8
call fcn.05547b17
pop ecx
pop ecx
push eax
call ebx
push 0xa
mov eax, 0x552da7c
push eax
push eax
push esi
push 0x552da80
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0557c24c
leave
ret
Function at 0x554427a
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8ac
mov eax, dword [0x53f40dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x552d390
xor ebx, ebx
push ebx
call fcn.05581de1
mov esi, eax
mov eax, dword [ebp + 8]
push 1
cdq
push edx
push eax
push esi
push 0x552d394
call fcn.05544574
add esp, 0x1c
call fcn.0554775a
call fcn.05544ec9
test al, al
jne 0x55442cc
call fcn.055477c7
jmp 0x5544426
push edi
call fcn.055477c7
mov edi, 0x200
lea eax, [ebp - 0x404]
push edi
push eax
push 0xffffffffffffffff
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x404]
mov dword [ebp - 0x824], 0x10
mov dword [ebp - 0x820], eax
lea eax, [ebp - 0x824]
mov dword [ebp - 0x840], eax
lea eax, [ebp - 0x858]
push eax
lea eax, [ebp - 0x814]
mov dword [ebp - 0x81c], ebx
push eax
push ebx
mov dword [ebp - 0x818], ebx
mov dword [ebp - 0x814], 0xaac56b
mov dword [ebp - 0x810], 0x11d0cd44
mov dword [ebp - 0x80c], 0xc000c28c
mov dword [ebp - 0x808], 0xee95c24f
mov dword [ebp - 0x830], ebx
mov dword [ebp - 0x828], ebx
mov dword [ebp - 0x858], 0x34
mov dword [ebp - 0x854], ebx
mov dword [ebp - 0x850], ebx
mov dword [ebp - 0x84c], 2
mov dword [ebp - 0x848], ebx
mov dword [ebp - 0x844], 1
mov dword [ebp - 0x83c], ebx
mov dword [ebp - 0x838], ebx
mov dword [ebp - 0x834], ebx
mov dword [ebp - 0x82c], ebx
call sub.WINTRUST.dll_WinVerifyTrust
push edi
lea eax, [ebp - 0x804]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x44
pop esi
push esi
lea eax, [ebp - 0x89c]
push ebx
push eax
call fcn.0557d7e0
add esp, 0xc
or dword [ebp - 0x870], 1
xor eax, eax
mov dword [ebp - 0x89c], esi
mov word [ebp - 0x86c], ax
lea eax, [ebp - 0x8ac]
push eax
lea eax, [ebp - 0x89c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x404]
push eax
push 0x552d3c4
call fcn.05547b17
add esp, 0xc
push eax
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop edi
mov ecx, dword [ebp - 4]
xor al, al
pop esi
xor ecx, ebp
pop ebx
call fcn.0557c24c
leave
ret