joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401f80
Capabilities:
Create process on windows
Get common file path
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x4284fb
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x461850]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push esi
push edi
mov eax, dword [0x461850]
xor eax, esp
push eax
lea eax, [esp + 0x220]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0040e086
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x401fd6
push 0x80004005
call fcn.004017c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
push 0
push 0x26
lea ecx, [esp + 0x1c]
push ecx
push 0
mov dword [esp + 0x238], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea ecx, [esp + 0x10]
call fcn.00401dc0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push str._smir2.exe
push eax
call fcn.00401f60
mov edi, dword [esp + 0x1c]
add esp, 0xc
push edi
push str.RES_DATA
push 0x84
mov ecx, esi
call fcn.00401710
push edi
mov ecx, esi
call fcn.004019f0
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 1
push 0
push 0
push edi
push str.open
push 0
call ebx
cmp eax, 0x20
jl 0x40208c
lea eax, [edi - 0x10]
mov dword [esp + 0x228], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402082
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x402116
lea ecx, [esp + 0x118]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x10]
call fcn.00401dc0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push str._smir2.exe
push eax
call fcn.00401f60
mov edi, dword [esp + 0x1c]
add esp, 0xc
push edi
push str.RES_DATA
push 0x84
mov ecx, esi
call fcn.00401710
push edi
mov ecx, esi
call fcn.004019f0
push 1
push 0
push 0
push edi
push str.open
push 0
call ebx
lea eax, [edi - 0x10]
mov dword [esp + 0x228], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402114
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00413847
add esp, 0x21c
ret
Function at 0x4051b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebp
push esi
mov dword [esp + 8], ecx
call fcn.00408f1f
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x405277
call fcn.00408f1f
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
je 0x405277
push edi
call fcn.00408f1f
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x40521d
pop edi
pop esi
pop ebp
pop ecx
ret 8
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebp
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x405266
test ebx, ebx
je 0x405266
push edi
push eax
push ebx
call fcn.00414c60
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [esp + 0x10]
push edi
push esi
call fcn.00404de0
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
pop ecx
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret 8
pop esi
xor eax, eax
pop ebp
pop ecx
ret 8

Function at 0x40e021
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x40e064
call fcn.00408f1f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40e064
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40e07f
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0040dbd8
test ebx, ebx
mov esi, eax
je 0x40e07d
test edi, edi
je 0x40e07d
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x40ffd6
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 0x410004
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x410022
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0040ff40
jmp 0x410022
mov eax, dword [esi + 0x14]
test eax, eax
je 0x410022
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0040ff40
test edi, edi
mov eax, edi
jne 0x41000c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x464810]
test ecx, ecx
je 0x4100e5
jmp 0x40ffd5
ret 8

Function at 0x413847
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x461850]
jne 0x413851
repz ret
jmp fcn.004194fc
Function at 0x422a95
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00418f45
xor ebx, ebx
cmp dword [0x46556c], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x422b6a
push 0x42d6dc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x422ad5
xor eax, eax
jmp 0x422c2e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42d6d0
push edi
call esi
cmp eax, ebx
je 0x422ace
push eax
call fcn.00418ee2
mov dword [esp], 0x42d6c0
push edi
mov dword [0x46556c], eax
call esi
push eax
call fcn.00418ee2
mov dword [esp], 0x42d6ac
push edi
mov dword [0x465570], eax
call esi
push eax
call fcn.00418ee2
mov dword [0x465574], eax
lea eax, [ebp - 8]
push eax
call fcn.00413d75
test eax, eax
pop ecx
pop ecx
je 0x422b38
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00414ae6
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x422b6a
push 0x42d690
push edi
call esi
push eax
call fcn.00418ee2
cmp eax, ebx
pop ecx
mov dword [0x46557c], eax
je 0x422b6a
push 0x42d678
push edi
call esi
push eax
call fcn.00418ee2
pop ecx
mov dword [0x465578], eax
mov eax, dword [0x465578]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x422be3
cmp dword [0x46557c], esi
je 0x422be3
push eax
call fcn.00418f4e
pop ecx
call eax
cmp eax, ebx
je 0x422bb0
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x46557c]
call fcn.00418f4e
pop ecx
call eax
test eax, eax
je 0x422bb0
test byte [ebp - 0x18], 1
jne 0x422be3
lea eax, [ebp - 0xc]
push eax
call fcn.00413dac
test eax, eax
pop ecx
je 0x422bcb
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00414ae6
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x422bda
or dword [ebp + 0x10], 0x200000
jmp 0x422c14
or dword [ebp + 0x10], 0x40000
jmp 0x422c14
mov eax, dword [0x465570]
cmp eax, esi
je 0x422c14
push eax
call fcn.00418f4e
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x422c14
mov eax, dword [0x465574]
cmp eax, esi
je 0x422c14
push dword [ebp - 4]
push eax
call fcn.00418f4e
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x46556c]
call fcn.00418f4e
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x428037
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x461850]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00427fcc
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00414170
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x428086
cmp dword [ebp - 0x1c], 5
jb 0x42809e
jmp 0x42809a
cmp dword [ebp - 0x10], 1
jne 0x42809e
cmp dword [ebp - 0x1c], 4
ja 0x42809a
jne 0x42809e
cmp dword [ebp - 0x18], 0
jbe 0x42809e
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x42e0c0
call fcn.00427ebd
test eax, eax
jge 0x4280bf
mov byte [0x462ce4], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00413847
add ebp, 0x78
leave
ret
Function at 0x6388a9
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xf85558
push eax
push dword fs:[0]
mov dword fs:[0], esp
xor eax, eax
mov dword [eax], ecx
push eax
inc ebp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x638929
arpl word [edx + esi], si
invalid
sbb al, 0x65
push dword [eax + 0x61]
xchg ecx, eax
leave
lcall 0x6cb3, 0x6c38b6c
sbb dword [ebx + 0x77], ebx
movsd dword es:[edi], dword [esi]
push ds
or esp, ebx
push esp
je 0x638990
mov byte [ecx + 0xe6ed114], ah
pop esi
aad 0xd8
or edx, eax
mov bl, 2
xor eax, 0x33f13b7c
xor al, 0x70
imul eax, dword [edi + 0x7243fffd], 0x5a607bd4
pop edx
lodsb al, byte [esi]
or dword [ebx + 0x34], edi
dec ebx
xchg esi, eax
rcr byte [ecx*8 - 0x76eb80d], 1
sub edx, edi
xor byte [edx], al
mov ch, 0xd9
neg byte [edx - 0x44]
movsb byte es:[edi], byte [esi]
jne 0x63895f
iretd
aas
shr esi, cl
out dx, al
dec ebx
int 0xe9
ficom dword [eax]
sub ah, cl
and eax, 0x3d2c567f
iretd
Function at 0x587840
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x113000]
push edi
or ebp, 0xffffffff
jmp 0x587862
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x587869
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
mov al, byte [edi]
jb 0x587858
mov eax, 1
add ebx, ebx
jne 0x58787d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x58788e
jne 0x58789e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x58789e
dec eax
add ebx, ebx
jne 0x58789a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x587872
xor ecx, ecx
sub eax, 3
jb 0x5878b6
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x58792a
sar eax, 1
mov ebp, eax
jmp 0x5878c1
add ebx, ebx
jne 0x5878c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x5878ce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x5878f2
inc ecx
add ebx, ebx
jne 0x5878de
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5878d3
jne 0x5878ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5878d3
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
mov al, byte [edi + ecx]
jbe 0x587914
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x587906
jmp 0x58785e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x587914
add edi, ecx
jmp 0x58785e
pop esi
mov edi, esi
mov ecx, 0x557b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x587932
cmp byte [edi], 0x19
jne 0x587932
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x587937
lea edi, [esi + 0x183000]
mov eax, dword [edi]
or eax, eax
je 0x5879a6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x189944]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x189a98]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x587964
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x189a9c]
or eax, eax
je 0x5879a0
mov dword [ebx], eax
add ebx, 4
jmp 0x587981
call dword [esi + 0x189aa0]
popal
jmp 0x4c6e78
Function at 0x401080
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401097
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4010c6
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x4010c2
cmp esi, eax
jae 0x4010c6
dec edi
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x4010b4
cmp esi, eax
jb 0x4010cc
pop esi
pop edi
xor eax, eax
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x4017f0
Capabilities:
Hide graphical window

Disassembly:
push edi
call fcn.00412a50
push 0x6b36
push eax
call fcn.004117e0
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push eax
mov eax, dword [esi + 4]
push 0xffffffffffffffff
push eax
call edi
call fcn.00412a50
push 0x6b37
push eax
call fcn.004117e0
mov ecx, dword [esi + 4]
push eax
push 0x3f8
push ecx
call edi
call fcn.00412a50
push 0x6b38
push eax
call fcn.004117e0
mov edx, dword [esi + 4]
push eax
push 0x3f9
push edx
call edi
call fcn.00412a50
push 0x6b39
push eax
call fcn.004117e0
push eax
mov eax, dword [esi + 4]
push 0x3fa
push eax
call edi
mov ecx, dword [esi + 0x54]
cmp byte [ecx + 0xc], 0
je 0x401888
mov edx, dword [esi + 4]
push 0x3fa
push 0x3fa
push 0x3f9
push edx
call dword [sym.imp.USER32.dll_CheckRadioButton]
jmp 0x4018c6
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push 0x3f8
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
mov ecx, dword [esi + 4]
push 0x3f9
push ecx
call edi
push 0
push eax
call ebx
mov edx, dword [esi + 4]
push 0x3fa
push edx
call edi
push 0
push eax
call ebx
pop ebx
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 0
push 0x46b
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
pop edi
ret

Function at 0x401a30
Capabilities:
Create thread

Disassembly:
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 0
push 0x470
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0
push esi
push 0x401c10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
ret
Function at 0x4020a0
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
sub esp, 0x80
mov eax, dword [0x4bc7dc]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ecx, eax
call fcn.00406750
call fcn.00411920
call fcn.0040fc30
test al, al
jne 0x40211f
mov eax, dword [0x4bdcd0]
cmp byte [eax], 0
jne 0x402117
call fcn.00412a50
push 0x6b12
push eax
call fcn.004117e0
push 0x10
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
mov dword [ecx], eax
call fcn.00412a50
push 0x6b13
push eax
call fcn.004117e0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0
mov dword [ecx], eax
call fcn.004012b0
add esp, 0x10
or eax, 0xffffffff
jmp 0x40229e
call fcn.0040fba0
test eax, eax
jne 0x402159
mov ecx, dword [0x4bdcd0]
cmp byte [ecx], al
jne 0x402117
call fcn.00412a50
push 0x6b12
push eax
call fcn.004117e0
push 0x10
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
mov dword [ecx], eax
call fcn.00412a50
push 0x6b1e
jmp 0x4020fe
lea edx, [esp + 0x2c]
push edx
call fcn.004141f0
mov eax, dword [0x4bc2cc]
mov edx, dword [eax + 0xc]
mov ecx, 0x4bc2cc
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
call fcn.0040dd40
add esp, 4
test al, al
jne 0x4021dd
lea ecx, [esp + 0x10]
push ecx
mov ecx, 0x4c01a8
call fcn.0040bf70
mov esi, 8
add esp, 4
cmp dword [eax + 0x14], esi
jb 0x4021a8
mov eax, dword [eax]
mov edx, eax
lea edi, [esp + 0xc]
call fcn.00402500
cmp dword [esp + 0x24], esi
jb 0x4021c6
mov edx, dword [esp + 0x10]
push edx
call fcn.0047fe1e
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
mov esi, dword [esp + 0xc]
cmp dword [esi - 0xc], 0
je 0x402201
lea eax, [esp + 0xc]
call fcn.00402540
test al, al
je 0x402201
lea eax, [esp + 0xc]
lea edi, [esp + 0x3c]
call fcn.00402c90
mov ecx, dword [0x4bdcd4]
mov dl, byte [ecx]
mov eax, dword [0x4bdcd0]
mov byte [esp + 0x39], dl
cmp byte [eax], 0
jne 0x40222d
mov ecx, dword [esp + 0x90]
push ecx
lea ecx, [esp + 0x30]
call fcn.00401fa0
add esp, 4
jmp 0x402241
lea ecx, [esp + 0x2c]
call fcn.004146b0
mov edi, eax
lea ebx, [esp + 0x2c]
call fcn.00418de0
cmp byte [esp + 0x85], 0
je 0x402276
call fcn.0040fb30
test eax, eax
jne 0x402276
push 0x52
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x402276
push 5
push eax
push eax
push str.http:__www.google.com_inputtools_windows_windowsxp.html
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.0040fad0
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402292
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00414290
xor eax, eax
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047fe29
add esp, 0x80
ret 0x10
Function at 0x4061d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49d43a
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x4bc7dc]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov ecx, dword [edi]
push eax
push ecx
call fcn.00405490
add esp, 8
cmp byte [0x4c0705], 0
jne 0x40621a
mov byte [0x4c0705], 1
call fcn.00404f20
mov edx, dword [0x4c0278]
push edx
lea eax, [esp + 0x10]
push eax
call fcn.00405680
lea ecx, [esp + 0xc]
push ecx
mov edx, esi
mov ecx, edi
mov dword [esp + 0x3c], 0
call fcn.00405890
mov esi, eax
call fcn.0040b5f0
lea ebx, [esp + 0xc]
call fcn.00405fc0
test al, al
je 0x40625c
push 1
call fcn.00481aa0
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x3c], 0xffffffff
call fcn.00405770
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret
Function at 0x407020
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x498728
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x4bc7dc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor ebx, ebx
mov dword [esp + 0x14], ebx
cmp dword [esi + 0x30], 0x10
jb 0x40705e
mov eax, dword [esi + 0x1c]
push eax
call fcn.0047fe1e
add esp, 4
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x1c], bl
mov dword [esp + 0x14], 0xffffffff
cmp dword [esi + 0x14], 0x10
jb 0x407084
mov eax, dword [esi]
push eax
call fcn.0047fe1e
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x407dd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x498728
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x4bc7dc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor ebx, ebx
mov dword [esp + 0x14], ebx
cmp dword [esi + 0x30], 0x10
jb 0x407e0e
mov eax, dword [esi + 0x1c]
push eax
call fcn.0047fe1e
add esp, 4
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x1c], bl
mov dword [esp + 0x14], 0xffffffff
cmp dword [esi + 0x14], 0x10
jb 0x407e34
mov eax, dword [esi]
push eax
call fcn.0047fe1e
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x40e5b0
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push 0xffffffffffffffff
push 0x49901b
mov eax, dword fs:[0]
push eax
sub esp, 0x674
mov eax, dword [0x4bc7dc]
xor eax, esp
mov dword [esp + 0x66c], eax
push ebx
push ebp
push esi
mov eax, dword [0x4bc7dc]
xor eax, esp
push eax
lea eax, [esp + 0x684]
mov dword fs:[0], eax
mov esi, dword [esp + 0x694]
push 0x24c
lea eax, [esp + 0x24]
push 0
push eax
mov byte [esp + 0x1f], 0
mov dword [esp + 0x28], 0
call fcn.00485710
add esp, 0xc
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x47e]
push edx
mov word [esp + 0x480], cx
call fcn.00485710
mov eax, dword [esi]
add esp, 0xc
push 0x4a896c
push eax
lea eax, [esp + 0x47c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x478]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x40e669
mov al, 1
jmp 0x40e7a6
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x276]
push ecx
mov word [esp + 0x278], ax
call fcn.00485710
add esp, 0xc
mov eax, dword [esi]
lea edx, [esp + 0x48]
push edx
push eax
lea eax, [esp + 0x274]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x40e764
test byte [esp + 0x1c], 0x10
je 0x40e6f6
cmp word [esp + 0x48], 0x2e
je 0x40e764
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x270]
call fcn.00402450
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x690], 0
call fcn.0040e5b0
add esp, 4
test al, al
mov dword [esp + 0x68c], 0xffffffff
mov eax, dword [esp + 0x18]
jmp 0x40e73c
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x270]
call fcn.00402450
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40e734
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x40e734
mov eax, dword [esp + 0x14]
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor al, al
jmp 0x40e736
mov al, 1
test al, al
mov eax, dword [esp + 0x14]
sete bl
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e75b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x40e764
mov byte [esp + 0x13], 1
lea ecx, [esp + 0x1c]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40e689
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x40e79d
mov edx, dword [esi]
push 4
push eax
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [esp + 0x13], 1
xor eax, eax
cmp byte [esp + 0x13], al
sete al
mov ecx, dword [esp + 0x684]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x66c]
xor ecx, esp
call fcn.0047fe29
add esp, 0x680
ret