joyce8/EMBER2024-capa huggingface dataset:
Function at 0x573330
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x5a7fd6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x71a35c]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0xb0], ebx
call fcn.0059262a
mov edx, dword [0x71a35c]
mov dword [esp + 0x3c], edx
cmp esi, ebx
mov byte [esp + 0xac], 1
jne 0x57338a
mov dword [esp + 0x1c], ebx
jmp 0x573391
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x1c], eax
push edi
mov ecx, esi
call fcn.005948fe
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
mov edi, 1
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edx
call fcn.0059022e
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x1c], ecx
jne 0x5733e2
mov dword [esp + 0x14], ebx
jmp 0x5733e9
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x14], edx
cmp dword [esi + 0x44], 0xd
jne 0x573404
mov eax, dword [eax + 0x3c8]
cmp eax, edi
je 0x5733fe
cmp eax, 2
jne 0x573404
mov dword [esp + 0x18], edi
jmp 0x573408
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x573416
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00591c60
mov edi, eax
cmp edi, ebx
jne 0x573426
xor eax, eax
jmp 0x573429
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x573451
mov ecx, esi
call fcn.005948fe
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x4e
push edx
call ebp
mov eax, dword [esp + 0x1c]
push eax
call ebx
test eax, eax
pop edi
je 0x57346d
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x57348c
mov esi, dword [esp + 0x10]
push esi
call ebx
test eax, eax
je 0x57348c
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0xac], 0
call fcn.005900f5
lea ecx, [esp + 0xc]
mov dword [esp + 0xac], 0xffffffff
call fcn.005900f5
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret
Function at 0x59262a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x592662
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0059059c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00590574
jmp 0x59266e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x593fa7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x593fe9
call fcn.0059a925
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x593fe9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x593fe0
xor eax, eax
jmp 0x593ff1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00593ff7
pop edi
pop esi
pop ebx
ret 4

Function at 0x59ae55
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x59ae83
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x59aea1
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0059adbb
jmp 0x59aea1
mov eax, dword [esi + 0x14]
test eax, eax
je 0x59aea1
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0059adbb
test edi, edi
mov eax, edi
jne 0x59ae8b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x59dbd7
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x59dbff
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x59dc10
push 2
call edi
test ax, ax
jge 0x59dc10
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.00591c60
cmp dword [esi + 0x30], ebx
jne 0x59dcea
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.00591c60
cmp eax, dword [esp + 0x34]
jne 0x59dcea
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x59dc86
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x59dccb
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x59dcea
cmp eax, 0x205
je 0x59dcea
cmp eax, 0x201
je 0x59dcea
cmp eax, 0x204
je 0x59dcea
cmp eax, ebx
jne 0x59dcb1
cmp dword [esp + 0x1c], 0x1b
je 0x59dcea
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x774200]
jbe 0x59dce0
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x59dc43
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4

Function at 0x8a7971
Capabilities:
Encode data using xor

Disassembly:
mov ebp, dword [esp + 8]
push dword [esp + 0x10]
popfd
lea esp, [esp + 0x14]
call fcn.007ad989
cli
das
outsb dx, byte [esi]
xchg ebx, eax
push ecx
push esp
cmp al, ch
adc ah, al
adc byte [ecx + eax*8 + 0xd338410], ch
les edx, [eax]
lodsb al, byte [esi]
rcl dword [eax], 0x84
xor ecx, dword [0xc193ef3d]
xlatb
cmp eax, 0xd7c193ef
xor al, 0xef
dec ecx
mov esp, 0x2410c3f4
add eax, ebp
adc byte [edx + 0x10ce48d3], ah
ja 0x8a7994
dec ebp
xor ch, bh
push 0x10cd4605
mov ch, 7
sar byte [edx], 1
out dx, eax
mov bh, 0x54
out 0xcd, eax
adc byte [ebx + 0x38120b40], ah
jecxz 0x8a798c
cmp eax, 0xbdb39a6a
pop es
out 0xed, al
cmp byte [ecx - 0x304c64ad], ch
insd dword es:[edi], dx
jns 0x8a7a36
mov al, byte [0xebef22f4]
insb byte es:[edi], dx
dec esp
sbb dl, byte [ecx]
leave
sub al, 0xef
out 0x23, eax
pop esp
xor eax, 0xc06d530e
dec ecx
dec ecx
ror dword [ecx - 0x1a620063], cl
int1
insd dword es:[edi], dx
lahf
jne 0x8a7a35
aas
enter 0xffffffffffff9478, 0xffffffffffffff9a
retf 0x9ec6
inc ecx
test dword [edi + 0x68], ebp
mov ebp, 0x77e24937
mov word [ebx + 0x79a59997], ss
inc esp
invalid
Function at 0x9463be
Capabilities:
Encode data using xor

Disassembly:
bswap eax
ror eax, 1
xor eax, 0x2d385e70
stc
rol eax, 2
clc
stc
xor ebx, eax
add ebp, eax
jmp 0x92ae89
jmp fcn.0082f758
push ecx
pushfd
mov ecx, 0x5b8e1065
xor cl, 0x80
mov dword [esp + 0x10], 0x8b7fcea3
or ecx, 0x85a1b16
jbe fcn.009463be
or ecx, 0x6837171
movsx cx, cx
mov ecx, dword [esp + 4]
jle 0x9463f0
add dword [esp + 8], 0xffb6dfa4
push dword [esp]
popfd
lea esp, [esp + 0x10]
call fcn.0087f3c6
mov edi, dword [edi]
shl ah, 0x85
mov eax, dword [esi]
cmp si, dx
add esi, 4
cmc
xor eax, ebx
clc
jmp 0x8695d3
Function at 0x40cc7b
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x434ad7
call fcn.004339e0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004028e9
and dword [ebp - 4], 0
lea ecx, [esi + 0xc]
call fcn.004028e9
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.004028e9
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.004028e9
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.004028e9
and byte [esi + 0x3c], 0
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 4
call fcn.004028e9
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 5
call fcn.004028e9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40d3e4
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x434bff
call fcn.004339e0
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004029bc
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.004029bc
lea eax, [edi + 0x18]
lea ecx, [esi + 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.004029bc
lea eax, [edi + 0x24]
lea ecx, [esi + 0x24]
push eax
mov byte [ebp - 4], 2
call fcn.004029bc
lea eax, [edi + 0x30]
lea ecx, [esi + 0x30]
push eax
mov byte [ebp - 4], 3
call fcn.004029bc
mov al, byte [edi + 0x3c]
lea ecx, [esi + 0x40]
mov byte [esi + 0x3c], al
lea eax, [edi + 0x40]
push eax
mov byte [ebp - 4], 4
call fcn.004029bc
add edi, 0x4c
lea ecx, [esi + 0x4c]
push edi
mov byte [ebp - 4], 5
call fcn.004029bc
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x40dd71
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x40dd80
pop dword [ebp - 0x28]
mov eax, 0x66807d63
add eax, 0x99c0601d
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x39943
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0x43a9
xor esi, esi
add esi, eax
mov edx, 0x38fd9bff
add edx, 0xc7472a01
add edx, dword [ebp - 0x28]
mov ebx, 0x469eb7de
add ebx, 0xd5c9eae2
add dword [ebp - 8], 0xba38457e
mov edi, dword [edx]
xor edi, ebx
xor dword [ebp - 0x20], 0xddd82cf3
mov dword [esi], edi
mov dword [ebp - 0x14], 0x4c5a0f45
add esi, 0xce5cd968
sub esi, 0xce5cd964
add edx, 4
loop 0x40ddd6
add eax, 0xfbbbecf1
sub eax, 0xfbbaeb7a
xor ebx, ebx
add ebx, eax
add eax, 0x52609061
sub eax, 0x5260905c
mov ecx, 0x8ef1c42
sub ecx, 0x8af1c42
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x412d32
Capabilities:
Encode data using xor

Disassembly:
push esi
or eax, 0xffffffff
xor esi, esi
test edx, edx
jbe 0x412d5f
push ebx
push edi
movzx edi, byte [esi + ecx]
mov ebx, eax
and ebx, 0xff
xor edi, ebx
shr eax, 8
mov edi, dword [edi*4 + 0x444740]
xor eax, edi
inc esi
cmp esi, edx
jb 0x412d3e
pop edi
pop ebx
not eax
pop esi
ret
Function at 0x40997f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [esi + 4], 0x100
jne 0x409a30
push 1
push 0
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp dword [esi + 8], 0x24
je 0x4099b0
cmp dword [esi + 8], 0x23
jne 0x4099bd
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jne 0x409a30
mov eax, dword [esi + 8]
cmp eax, 0x21
je 0x4099e8
cmp eax, 0x24
je 0x4099e8
cmp eax, 0x28
je 0x4099e8
cmp eax, 0x26
je 0x4099e8
cmp eax, 0x23
je 0x4099e8
cmp eax, 0x22
je 0x4099e8
cmp eax, 0xd
je 0x4099e8
cmp eax, 0x20
jne 0x409a30
push dword [edi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
call ebx
push eax
call fcn.0053bdcf
test eax, eax
je 0x409a30
push dword [edi + 0x20]
call ebx
push eax
call fcn.0053bdcf
push dword [eax + 0x20]
call ebx
push eax
call fcn.0053bdcf
test eax, eax
je 0x409a30
push dword [esi + 0xc]
push dword [esi + 8]
push 0x100
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
inc eax
jmp 0x409a38
push esi
mov ecx, edi
call fcn.0053deb1
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x41b639
Capabilities:
Delete file

Disassembly:
push 0x3c
mov eax, 0x5a51ed
call fcn.0056e492
lea eax, [ebp - 0x44]
mov edi, 0x62bae8
push eax
mov ecx, edi
call fcn.00405ee6
push dword [eax]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004047dc
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 2
lea ecx, [ecx - 0x10]
call fcn.00405472
mov esi, 0x5c0860
push esi
call fcn.00574cc3
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.004063a4
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call fcn.00405ee6
push dword [eax]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.004047dc
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 5
lea ecx, [ecx - 0x10]
call fcn.00405472
lea eax, [ebp - 0x28]
push eax
call fcn.0044e100
mov esi, 0x5c080c
push esi
call fcn.00574cc3
pop ecx
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004063a4
lea eax, [ebp - 0x28]
push eax
call fcn.0044e100
lea eax, [ebp - 0x28]
push eax
call fcn.0044c3e0
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
call fcn.00404940
lea ecx, [ebp - 0x40]
call fcn.00404940
mov al, 1
call fcn.0056e441
ret

Function at 0x422106
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
push 0x11
mov edi, ecx
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x422187
push esi
lea eax, [ebp - 0xc]
mov ecx, edi
push eax
call fcn.004208ad
lea ecx, [ebp - 0xc]
mov esi, dword [eax + 4]
sub esi, dword [eax]
sar esi, 2
call fcn.004105c6
cmp esi, 1
pop esi
ja 0x4221a3
mov eax, dword [ebp + 8]
sub eax, 0x45
je 0x42217e
dec eax
sub eax, 1
je 0x422175
sub eax, 0xb
je 0x42215e
sub eax, 5
jne 0x422187
push eax
push 0x8807
jmp 0x422165
push 0
push 0x8805
push 0x111
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4221a5
push 0
push 0x8808
jmp 0x422165
push 0
push 0x8806
jmp 0x422165
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4221a3
cmp dword [ebp + 8], 0x2e
jne 0x4221a3
push 0
push 0x8803
jmp 0x422165
xor eax, eax
pop edi
leave
ret 4
Function at 0x431525
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43153c
mov al, 1
jmp 0x43155d
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43154b
push dword [ebp + 8]
call fcn.004354d4
push 4
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne al
pop esi
pop ebp
ret 4

Function at 0x4319df
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
xor edi, edi
mov eax, ecx
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push dword [eax + 0x164]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x431a14
xor eax, eax
jmp 0x431a69
push esi
push edi
push edi
push edi
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
test esi, esi
jne 0x431a33
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x431a68
push edi
push edi
push edi
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 8], eax
test eax, eax
je 0x431a5a
mov ecx, dword [ebp - 4]
push eax
call fcn.00431c81
push dword [ebp - 8]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push ebx
call esi
mov eax, edi
pop esi
pop edi
pop ebx
leave
ret
Function at 0x433a1e
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
push edi
call fcn.00433969
test edi, edi
je 0x433a4c
cmp dword [edi + 8], 0
je 0x433a4c
push dword [ebx + 4]
push 0x5c38e0
push dword [edi + 8]
call fcn.004354dd
add esp, 0xc
mov ecx, ebx
call fcn.00434575
test edi, edi
je 0x433a5c
mov eax, dword [edi + 8]
jmp 0x433a5e
xor eax, eax
push eax
mov ecx, ebx
call fcn.00434866
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x18]
push 0x2c
cdq
pop ecx
idiv ecx
test eax, eax
je 0x433aaf
lea esi, [ebx + 4]
mov dword [ebp + 8], 0x7d0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x433aaf
cmp dword [ebp + 8], 0
jle 0x433af6
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
sub dword [ebp + 8], 0x64
mov esi, eax
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
lea esi, [ebx + 4]
je 0x433a8c
add ebx, 4
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [edi + 4]
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp + 8], 0
jne 0x433b5d
cmp eax, 5
jne 0x433b24
push ebx
push dword [0x62bec8]
call fcn.00434e06
pop ecx
pop ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x433b68
push 0x5c38f8
call fcn.004354d4
jmp 0x433b68
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x433aaf
push esi
push dword [0x62bec8]
call fcn.00434e06
pop ecx
pop ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x433b20
push 0x5c38f8
call fcn.004354d4
xor eax, eax
jmp 0x433b6b
cmp eax, 2
jne 0x433b39
test esi, esi
je 0x433b34
mov ecx, esi
call fcn.00431fa2
xor eax, eax
inc eax
jmp 0x433b6b
cmp dword [edi + 8], 0
je 0x433b50
push eax
push 0x5c3990
push dword [edi + 8]
call fcn.004354dd
add esp, 0xc
test esi, esi
je 0x433b68
mov ecx, esi
call fcn.00431fa2
jmp 0x433b68
test esi, esi
je 0x433b68
mov ecx, esi
call fcn.00431fc6
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x433b72
Capabilities:
Check if file exists
Delete directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
mov ebx, ecx
push eax
call fcn.0042fcb4
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00405472
test esi, esi
je 0x433beb
mov esi, dword [ebp + 8]
mov ecx, ebx
push esi
call fcn.004339c0
cmp dword [esi + 8], 0
mov edi, dword [esi + 4]
mov dword [ebp + 8], eax
je 0x433bca
push dword [ebx + 4]
push 0x5c38e0
push dword [esi + 8]
call fcn.004354dd
mov eax, dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x433c47
lea eax, [ebx + 4]
push dword [eax]
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x433bf5
test edi, edi
je 0x433beb
mov ecx, edi
call fcn.00431fc6
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 8], 0
mov ebx, eax
je 0x433c14
push ebx
push 0x5c39d8
push dword [esi + 8]
call fcn.004354dd
add esp, 0xc
cmp ebx, 0x20
jne 0x433c3a
push dword [ebp + 8]
push dword [0x62bec8]
call fcn.00434e06
pop ecx
pop ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x433c3a
push 0x5c3a28
call fcn.004354d4
test edi, edi
je 0x433c58
mov ecx, edi
call fcn.00431fa2
jmp 0x433c58
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x433c58
push 0x5c3ad0
call fcn.004354d4
xor eax, eax
jmp 0x433bee

Function at 0x434575
Capabilities:
Set file attributes

Disassembly:
push 0x80
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
ret
Function at 0x434866
Capabilities:
Create process on windows

Disassembly:
push 0x1c4
mov eax, 0x5a8c64
call fcn.0056e492
mov edi, dword [ebp + 8]
lea esi, [ecx + 4]
push esi
lea ecx, [ebp - 0x178]
call fcn.00431800
and dword [ebp - 4], 0
lea ecx, [ebp - 0x178]
call fcn.004319df
test eax, eax
je 0x4349c6
push 0x5c37bc
lea ecx, [ebp - 0x178]
call fcn.00431994
test eax, eax
je 0x4349c6
push 0x5c37cc
lea ecx, [ebp - 0x178]
call fcn.00431994
test eax, eax
je 0x4349c6
push 0x5c37e0
lea ecx, [ebp - 0x178]
call fcn.00431994
test eax, eax
je 0x4349c6
push 0x5c37f4
lea ecx, [ebp - 0x178]
call fcn.00431994
test eax, eax
je 0x4349c6
test edi, edi
je 0x43490e
push 0x5c3808
mov ecx, edi
call fcn.004354d4
push 0x44
pop ebx
push ebx
lea eax, [ebp - 0x1d0]
push 0
push eax
call fcn.00570de0
mov dword [ebp - 0x1d0], ebx
lea eax, [ebp - 0x18c]
push 0x10
xor ebx, ebx
push ebx
push eax
call fcn.00570de0
add esp, 0x18
lea ecx, [ebp - 0x17c]
call fcn.00404c17
push dword [esi]
lea eax, [ebp - 0x17c]
mov byte [ebp - 4], 1
push 0x5c3838
push eax
call fcn.00404fce
mov esi, dword [ebp - 0x17c]
lea eax, [ebp - 0x18c]
add esp, 0xc
push eax
lea eax, [ebp - 0x1d0]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4349ae
push 0xbb8
push dword [ebp - 0x18c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x18c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x188]
call edi
jmp 0x4349be
test edi, edi
je 0x4349be
push 0x5c3868
mov ecx, edi
call fcn.004354d4
lea ecx, [esi - 0x10]
call fcn.00405472
lea ecx, [ebp - 0x178]
call fcn.0043186f
call fcn.0056e441
ret 4

Function at 0x435e97
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ecx + 0x2c]
push edi
mov edi, dword [ecx + 0x30]
mov eax, edi
sub eax, esi
push 0x2c
cdq
pop ebx
idiv ebx
test eax, eax
je 0x435f5c
call fcn.00435a70
test eax, eax
je 0x435f5c
cmp esi, edi
je 0x435f5c
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x435ee2
push dword [esi + 4]
push 0x5c3d7c
push ebx
call fcn.004354dd
add esp, 0xc
push dword [esi + 4]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp + 8], eax
test eax, eax
je 0x435f38
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x435f1f
test ebx, ebx
je 0x435f1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5c3da8
push ebx
call fcn.004354dd
add esp, 0xc
push 0x5dc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x435f51
test ebx, ebx
je 0x435f51
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5c3df8
push ebx
call fcn.004354dd
add esp, 0xc
add esi, 0x2c
cmp esi, edi
jne 0x435ecd
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x43bc34
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x6244f8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x2b8]
push edi
push 0x2b4
push 0
push eax
mov ebx, ecx
or edi, 0xffffffff
call fcn.00570de0
add esp, 0xc
lea eax, [ebp - 0x2b8]
push 0x101
push 0x2b4
push eax
push 0
push dword [esi]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x43bcb1
cmp dword [ebp - 0x2b8], 0
je 0x43bcb1
push dword [ebp - 0x2b8]
push edi
push dword [ebx + 0x84]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push dword [ebp - 0x2b8]
mov edi, eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056e41f
leave
ret 4

Function at 0x4497f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
call fcn.00448ad0
mov edi, dword [ebp + 8]
push 0
push 0
push edi
call fcn.0057f27e
push edi
call fcn.0057eb6b
add esp, 0x10
cmp eax, 0xffffffff
jne 0x44983c
push edi
call fcn.0057eaf8
add esp, 4
test eax, eax
je 0x44983c
push 0
push 0
push 5
push esi
call fcn.0044af00
mov eax, dword [esi + 0x38]
add esp, 0x10
pop edi
pop esi
pop ebp
ret 4
push ebx
push 2
push 0
push edi
call fcn.0057f27e
push edi
call fcn.0057f8d1
push 0
cdq
push 0
push edi
mov ebx, eax
mov dword [ebp + 8], edx
call fcn.0057f27e
mov edx, dword [ebp + 8]
mov ecx, ebx
and ecx, edx
add esp, 0x1c
cmp ecx, 0xffffffff
je 0x4498c7
test edx, edx
jne 0x4498c7
cmp ebx, 0xffffffff
jae 0x4498c7
mov eax, ebx
or eax, edx
jne 0x449892
push eax
push eax
push 0xd
push esi
call fcn.0044af00
mov eax, dword [esi + 0x38]
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 4
lea eax, [ebx + 1]
push eax
call fcn.00538f33
push edi
push ebx
push 1
push eax
mov dword [esi + 0x50], eax
call fcn.0057ee68
add esp, 0x14
cmp eax, ebx
jne 0x4498c7
mov eax, dword [esi + 0x50]
mov ecx, esi
mov byte [ebx + eax], 0
call fcn.00449c30
mov eax, dword [esi + 0x38]
pop ebx
pop edi
pop esi
pop ebp
ret 4
push 0
push 0
push 5
push esi
call fcn.0044af00
mov eax, dword [esi + 0x38]
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 4