joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b050
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x4566f8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x470be4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x128
mov ebp, eax
call fcn.0041c482
add esp, 4
mov ebx, eax
push ebx
push ebp
mov dword [ebx], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40b1d4
call fcn.00427e3b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40b0be
push 0x80004005
call fcn.004010a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea edi, [ebx + 0x24]
push edi
lea ecx, [esp + 0x18]
push 0x45b25c
push ecx
mov dword [esp + 0x2c], 0
call fcn.00409910
mov ecx, dword [str.ui_launch_dx_bak.exe]
xor eax, eax
add esp, 0xc
test ecx, ecx
setne al
test eax, eax
jne 0x40b107
push 0x80004005
call fcn.004010a0
mov esi, dword [esp + 0x14]
push ecx
push esi
call fcn.0043af69
add esp, 8
test eax, eax
sete al
test al, al
je 0x40b158
lea eax, [esi - 0x10]
mov dword [esp + 0x20], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b142
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push ebx
push ebp
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x40b1b0
push edi
lea ecx, [esp + 0x18]
push 0x45b25c
push ecx
call fcn.00409910
mov eax, dword [str.ui_launch_dx_bak.exe]
xor ecx, ecx
add esp, 0xc
test eax, eax
setne cl
test ecx, ecx
je 0x40b0b4
mov esi, dword [esp + 0x14]
push eax
push esi
call fcn.0043af69
add esp, 8
test eax, eax
sete al
test al, al
jne 0x40b11e
push ebx
push ebp
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40b163
lea eax, [esi - 0x10]
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b1d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x40bc40
Capabilities:
Suspend thread
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x456688
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x470be4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 0xbc]
xor ebx, ebx
cmp esi, ebx
je 0x40bc92
cmp byte [esi + 0x1c], bl
jne 0x40bc92
cmp byte [esi + 0x1d], bl
jne 0x40bc92
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x40bc92
mov byte [esi + 0x1d], 1
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov ebp, 0x10
cmp dword [edi + 0xb4], ebp
mov dword [esp + 0x30], ebx
jb 0x40bcb7
mov eax, dword [edi + 0xa0]
jmp 0x40bcbd
lea eax, [edi + 0xa0]
push 1
push ebx
push ebx
push 0x45b474
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00404300
add esp, 0x18
xor esi, esi
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x40bd2c
mov ecx, dword [esp + 0x20]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x40bd2c
push esi
lea ecx, [esp + 0x1c]
call fcn.00402ec0
cmp dword [eax + 0x18], ebp
jb 0x40bd1b
mov eax, dword [eax + 4]
push eax
call fcn.0041b190
add esp, 4
add esi, 1
jmp 0x40bcd6
add eax, 4
push eax
call fcn.0041b190
add esp, 4
add esi, 1
jmp 0x40bcd6
cmp dword [edi + 0xb4], ebp
jb 0x40bd3c
mov eax, dword [edi + 0xa0]
jmp 0x40bd42
lea eax, [edi + 0xa0]
push eax
call fcn.0041b060
mov esi, dword [edi + 0xbc]
add esp, 4
cmp esi, ebx
je 0x40bda9
mov eax, dword [esi + 0xc]
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0x14], 0x103
jne 0x40bd8a
mov ecx, dword [esi + 0xc]
push 0x103
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], ebx
mov byte [esi + 0x1e], bl
mov byte [esi + 0x1c], 1
mov ecx, dword [edi + 0xbc]
cmp ecx, ebx
je 0x40bda3
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [edi + 0xbc], ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x40bdd3
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x1c]
push edx
push ecx
push eax
call fcn.00402450
mov edx, dword [esp + 0x2c]
push edx
call fcn.0041c4ad
add esp, 0x14
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x40bdf0
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4566c0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x470be4]
xor eax, esp
mov dword [esp + 0x60], eax
push ebp
push esi
push edi
mov eax, dword [0x470be4]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0040bc40
mov ecx, dword [esi + 0x98]
lea eax, [esp + 0x10]
push eax
call fcn.00408df0
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x80], 0
call fcn.0040f8a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 1
call fcn.0040fe80
test al, al
jne 0x40be78
push 0
push 0x10
push 0x45b48c
call fcn.0041fa7d
push 1
call fcn.00438e36
push str.config
lea ecx, [esp + 0x18]
call fcn.0040f280
test eax, eax
jne 0x40be9e
push eax
push 0x10
push 0x45b478
call fcn.0041fa7d
push 1
call fcn.00438e36
push str.auto_patch_client
mov ecx, eax
call fcn.0040f540
mov edi, eax
push str.current
push edi
call fcn.0040e480
add esp, 8
test eax, eax
je 0x40bf50
mov ebp, dword [str.1.5.7]
mov ecx, ebp
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40bef0
test dl, dl
je 0x40beec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40bef0
add eax, 2
add ecx, 2
test dl, dl
jne 0x40bed0
xor eax, eax
jmp 0x40bef5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40bf14
push ebp
push str.current
mov ecx, edi
call fcn.0040f640
mov edx, dword [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
call fcn.0040e580
mov eax, dword [esi + 0xe0]
push 0
push 0x64
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0x98]
push 1
add ecx, 0xd8
call fcn.004222de
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esi + 0x98]
call fcn.004084d0
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 0
call fcn.00401ab0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x7c], 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bf86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00438282
add esp, 0x70
ret
Function at 0x40d790
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4569d8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x470be4]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x8c], edi
je 0x40d7e4
mov ecx, dword [esi + 0x74]
call fcn.0041d702
mov ecx, dword [esi + 0x74]
cmp ecx, edi
je 0x40d7db
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov dword [esi + 0x74], edi
mov dword [esi + 0x8c], edi
mov ebx, dword [esp + 0x3c]
cmp ebx, edi
mov dword [esi + 0x90], edi
je 0x40d84b
push 8
call fcn.0041c482
add esp, 4
cmp eax, edi
je 0x40d80b
mov dword [eax + 4], edi
mov dword [eax], vtable.CBitmap.0
mov edi, eax
mov dword [esi + 0x74], edi
call fcn.00422074
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.0041d6af
test eax, eax
je 0x40d918
mov eax, 1
mov ecx, esi
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], eax
call fcn.0040ce40
jmp 0x40d913
mov ebx, dword [esp + 0x40]
push 0x2050
push edi
push edi
push edi
push ebx
push edi
call dword [sym.imp.USER32.dll_LoadImageA]
mov ebp, eax
cmp ebp, edi
jne 0x40d877
push edi
push edi
push 0x45ba10
call fcn.0041fa7d
push edi
call fcn.00438e36
push ebp
call fcn.0041d6a1
mov edx, dword [eax + 4]
lea ecx, [esp + 0x14]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
cmp word [esp + 0x26], 0x18
je 0x40d905
call fcn.00427e3b
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40d8b0
push 0x80004005
call fcn.004010a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x3c], eax
movzx ecx, word [esp + 0x26]
push ecx
push ebx
lea edx, [esp + 0x44]
push str._s__i
push edx
mov dword [esp + 0x44], edi
call fcn.00409910
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
add esp, 0x10
mov dword [esp + 0x34], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d905
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebp
call fcn.0041d6a1
push eax
mov ecx, esi
call fcn.0040d450
mov eax, 1
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
Function at 0x412d10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x412d1b
xor eax, eax
ret
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x14]
cmp edi, 8
not esi
jb 0x412e17
push ebp
mov ebp, edi
shr ebp, 3
jmp 0x412d40
movzx edx, byte [ecx]
xor edx, esi
and edx, 0xff
add ecx, 1
mov eax, esi
shr eax, 8
xor eax, dword [edx*4 + 0x45d840]
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x45d840]
movzx edx, byte [ecx + 1]
xor edx, eax
and edx, 0xff
add ecx, 1
shr eax, 8
xor eax, dword [edx*4 + 0x45d840]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x45d840]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x45d840]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x45d840]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x45d840]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x45d840]
add ecx, 1
sub edi, 8
sub ebp, 1
mov esi, eax
jne 0x412d40
pop ebp
test edi, edi
je 0x412e3c
jmp 0x412e20
movzx eax, byte [ecx]
xor eax, esi
and eax, 0xff
shr esi, 8
xor esi, dword [eax*4 + 0x45d840]
add ecx, 1
sub edi, 1
jne 0x412e20
mov eax, esi
pop edi
not eax
pop esi
ret

Function at 0x412e50
Capabilities:
Hash data with crc32

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [edx]
movzx ecx, byte [esp + 8]
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x45d840]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
add eax, 1
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x45d840]
mov dword [edx + 8], ecx
ret

Function at 0x412ea0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
mov ecx, dword [esi + 8]
mov eax, ecx
and eax, 0xfffd
or eax, 2
mov edx, eax
xor edx, 1
imul edx, eax
mov al, byte [esp + 0x10]
shr edx, 8
xor al, dl
mov edx, dword [esi]
movzx ebx, al
xor ebx, edx
shr edx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x45d840]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
add edx, 1
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x45d840]
mov dword [esi + 8], ecx
pop esi
pop ebx
ret
Function at 0x4160f0
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, ecx
cmp dword [ebx], 0
jne 0x4161bf
cmp dword [ebx + 4], 0xffffffff
jne 0x4161bf
push edi
lea edi, [ebx + 0x140]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, edi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x416120
sub eax, edx
mov al, byte [eax + ebx + 0x13f]
cmp al, 0x5c
je 0x416153
cmp al, 0x2f
je 0x416153
add edi, 0xffffffff
lea ecx, [ecx]
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x416140
mov ax, word [0x45dd64]
mov word [edi], ax
mov edi, dword [esp + 0x14]
cmp edi, 1
push esi
mov esi, dword [esp + 0x10]
jne 0x41617e
push 1
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x41617e
pop esi
pop edi
mov eax, 0x2000000
pop ebx
ret 0xc
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push edi
push edx
push esi
call fcn.004131e0
add esp, 0x10
test eax, eax
jne 0x4161a0
mov eax, dword [esp + 0x18]
pop esi
pop edi
pop ebx
ret 0xc
push eax
call fcn.00415af0
add esp, 4
mov dword [ebx], eax
neg eax
sbb eax, eax
pop esi
and eax, 0xfffffe00
pop edi
add eax, 0x200
pop ebx
ret 0xc
mov eax, 0x1000000
pop ebx
ret 0xc
Function at 0x4198b0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x50
mov eax, dword [esp + 0x54]
test eax, eax
push ebx
mov ebx, ecx
mov dword [esp + 4], ebx
je 0x4199d5
push ebp
push esi
push edi
lea esp, [esp]
push 0
push 0
push eax
mov eax, dword [ebx + 0x5c]
push eax
call fcn.0043ca8a
push 0x4c
lea ecx, [esp + 0x28]
push 0
push ecx
call fcn.00438ee0
mov edx, dword [ebx + 0x5c]
push edx
push 1
lea eax, [esp + 0x38]
push 0x4c
push eax
call fcn.0043c9d6
add esp, 0x2c
test eax, eax
je 0x4199d2
cmp dword [ebx + 0x154], 0
jne 0x419923
lea edi, [ebx + 0x150]
mov ecx, 0x13
lea esi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4199c6
xor ecx, ecx
mov edi, eax
mov edx, 0x18
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041c4b2
mov esi, eax
add esp, 4
test esi, esi
je 0x419971
lea eax, [edi - 1]
test eax, eax
jl 0x41996d
lea eax, [eax + eax*2 + 3]
add eax, eax
add eax, eax
add eax, eax
push eax
push 0
push esi
call fcn.00438ee0
add esp, 0xc
mov ebp, esi
jmp 0x419973
xor ebp, ebp
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + 0x5c]
lea edx, [eax + eax*2]
add edx, edx
push ecx
add edx, edx
push 1
add edx, edx
push edx
push ebp
call fcn.0043c9d6
xor edi, edi
add esp, 0x10
cmp dword [esp + 0x18], edi
jbe 0x4199bd
add ebx, 0x19c
mov esi, ebp
push esi
mov ecx, ebx
call fcn.004196f0
mov ecx, dword [esi + 0x10]
add edi, 1
mov dword [eax], ecx
add esi, 0x18
cmp edi, dword [esp + 0x18]
jb 0x4199a0
mov ebx, dword [esp + 0x10]
push ebp
call fcn.0041c4ad
add esp, 4
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4198d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 4

Function at 0x419af1
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov dword [esi + 0x1c0], 0
call fcn.00419650
mov ebx, dword [esp + 0x10]
push 0x45df50
push ebx
call fcn.0043b1e8
mov edi, eax
add esp, 8
test edi, edi
jne 0x419b24
pop edi
pop esi
xor al, al
pop ebx
ret 4
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x419b30
sub eax, edx
push eax
push ebx
mov ecx, esi
call fcn.00401e20
push edi
push 1
lea ebx, [esi + 0x60]
push 0xf0
push ebx
mov dword [esi + 0x5c], edi
call fcn.0043c9d6
add esp, 0x10
test eax, eax
je 0x419b1c
cmp dword [ebx], 1
jne 0x419b1c
lea eax, [esi + 0x90]
push eax
call fcn.004546ec
add esp, 4
push 0xf0
mov ecx, esi
call fcn.004198b0
pop edi
pop esi
mov al, 1
pop ebx
ret 4
Function at 0x419db0
Capabilities:
Print debug messages
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x1a8
mov eax, dword [0x470be4]
xor eax, esp
mov dword [esp + 0x1a4], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1bc]
push str.VFS:_del_file_start_n
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, esi
call fcn.00419650
push 0
lea eax, [esi + 0x90]
push eax
push edi
call fcn.0041adb0
mov edi, eax
mov eax, dword [esi + 0x78]
add esp, 0xc
test eax, eax
je 0x419e0f
cmp dword [esi + 0x1b0], 0
jne 0x419e0f
push eax
mov ecx, esi
call fcn.00419c80
test edi, edi
je 0x419e21
lea ecx, [esp + 0x20]
push ecx
push edi
call fcn.0041af50
add esp, 8
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x14]
lea ebp, [esi + 0x19c]
push eax
mov ecx, ebp
call fcn.004185a0
mov ebx, dword [esp + 0x10]
test ebx, ebx
mov ecx, dword [ebp + 4]
mov dword [esp + 0x1c], ecx
je 0x419e4b
cmp ebx, ebp
je 0x419e50
call fcn.004383bb
mov edi, dword [esp + 0x14]
cmp edi, dword [esp + 0x1c]
jne 0x419e64
mov eax, 3
jmp 0x419fb9
mov edx, dword [esi + 0x5c]
push edx
call fcn.00439d13
add esp, 4
cmp dword [esi + 0x18], 0x10
jb 0x419e7b
mov eax, dword [esi + 4]
jmp 0x419e7e
lea eax, [esi + 4]
push 0x45df48
push eax
call fcn.0043b1e8
add esp, 8
test ebx, ebx
mov dword [esi + 0x5c], eax
jne 0x419e98
call fcn.004383bb
cmp edi, dword [ebx + 4]
jne 0x419ea2
call fcn.004383bb
cmp edi, dword [ebx + 4]
mov eax, dword [edi + 0x20]
mov dword [esp + 0x10], eax
jne 0x419eb3
call fcn.004383bb
mov ecx, dword [edi + 0x20]
mov edx, dword [esi + 0x5c]
push 0
push 0
push ecx
push edx
call fcn.0043ca8a
push 0xe4
lea eax, [esp + 0xe4]
push 0
push eax
call fcn.00438ee0
mov ecx, dword [esi + 0x5c]
push ecx
push 1
lea edx, [esp + 0xf4]
push 0xe4
push edx
call fcn.0043c9d6
push 0x50
lea eax, [esp + 0xb0]
push 0
push eax
call fcn.00438ee0
mov ecx, dword [esi + 0x5c]
push ecx
push 1
lea edx, [esp + 0xc0]
push 0x50
push edx
call fcn.0043c9d6
add dword [esi + 0x64], 0xffffffff
add esp, 0x48
push edi
push ebx
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
call fcn.00418860
lea ecx, [esp + 0x20]
push ecx
push 0xf0
mov ecx, esi
call fcn.00417850
lea edx, [esp + 0xd0]
push edx
mov ecx, esi
call fcn.00418df0
push 0x50
lea eax, [esp + 0x34]
push 0
push eax
call fcn.00438ee0
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x1c]
add esp, 0xc
push edx
lea eax, [esp + 0x34]
mov dword [esp + 0x38], ecx
push eax
mov ecx, esi
mov dword [esp + 0x38], 1
call fcn.00417ba0
mov ecx, dword [esi + 0x5c]
push 0
push 0
push 0
push ecx
call fcn.0043ca8a
mov edi, dword [esi + 0x5c]
push edi
push 1
push 0xf0
add esi, 0x60
push esi
call fcn.00439a5a
push edi
call fcn.004397e6
add esp, 0x24
push str.VFS:_del_file_finsihed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
mov ecx, dword [esp + 0x1b4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00438282
add esp, 0x1a8
ret 4
Function at 0x41b060
Capabilities:
Delete directory

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0
push esi
call fcn.0043cd29
add esp, 8
cmp eax, 0xffffffff
je 0x41b084
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
neg eax
sbb eax, eax
neg eax
pop esi
ret
xor al, al
pop esi
ret

Function at 0x41b190
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0
push esi
call fcn.0043cd29
add esp, 8
cmp eax, 0xffffffff
jne 0x41b1a9
mov al, 1
pop esi
ret
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne bl
test bl, bl
jne 0x41b1d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push 0x45e030
push 1
call fcn.004012b0
push eax
call fcn.00407720
add esp, 0x10
mov al, bl
pop ebx
pop esi
ret

Function at 0x41b1e0
Capabilities:
Copy file

Disassembly:
xor eax, eax
cmp byte [esp + 0xc], al
push ebx
mov ebx, dword [esp + 8]
sete al
push esi
push edi
mov edi, dword [esp + 0x14]
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov esi, eax
test esi, esi
jne 0x41b221
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push ebx
push 0x45e040
push 1
call fcn.004012b0
push eax
call fcn.00407720
add esp, 0x18
xor eax, eax
pop edi
test esi, esi
pop esi
setne al
pop ebx
ret
Function at 0x41bcb0
Capabilities:
Move file

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push esi
call fcn.0041ba50
mov edi, dword [esp + 0x14]
movsx eax, byte [edi]
push eax
call fcn.0043be7a
movsx ecx, byte [esi]
push ecx
mov bl, al
call fcn.0043be7a
add esp, 0xc
cmp bl, al
je 0x41bcfc
mov edx, dword [esp + 0x18]
push edx
push esi
push edi
call fcn.0041b1e0
add esp, 0xc
test al, al
je 0x41bd42
push edi
call fcn.0041b190
add esp, 4
pop edi
pop esi
pop ebx
ret
cmp byte [esp + 0x18], 0
je 0x41bd0f
push 1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
jmp 0x41bd17
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov ebx, eax
test ebx, ebx
jne 0x41bd3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push edi
push 0x45e060
push 1
call fcn.004012b0
push eax
call fcn.00407720
add esp, 0x18
xor eax, eax
test ebx, ebx
setne al
pop edi
pop esi
pop ebx
ret
Function at 0x44b9de
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00442bd5
xor ebx, ebx
cmp dword [0x4755dc], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x44bab3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x44ba1e
xor eax, eax
jmp 0x44bb77
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x461fe8
push edi
call esi
cmp eax, ebx
je 0x44ba17
push eax
call fcn.00442b72
mov dword [esp], 0x461fd8
push edi
mov dword [0x4755dc], eax
call esi
push eax
call fcn.00442b72
mov dword [esp], 0x461fc4
push edi
mov dword [0x4755e0], eax
call esi
push eax
call fcn.00442b72
mov dword [0x4755e4], eax
lea eax, [ebp - 8]
push eax
call fcn.00438c63
test eax, eax
pop ecx
pop ecx
je 0x44ba81
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043829b
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x44bab3
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00442b72
cmp eax, ebx
pop ecx
mov dword [0x4755ec], eax
je 0x44bab3
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00442b72
pop ecx
mov dword [0x4755e8], eax
mov eax, dword [0x4755e8]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x44bb2c
cmp dword [0x4755ec], esi
je 0x44bb2c
push eax
call fcn.00442bde
pop ecx
call eax
cmp eax, ebx
je 0x44baf9
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4755ec]
call fcn.00442bde
pop ecx
call eax
test eax, eax
je 0x44baf9
test byte [ebp - 0x18], 1
jne 0x44bb2c
lea eax, [ebp - 0xc]
push eax
call fcn.00438c9a
test eax, eax
pop ecx
je 0x44bb14
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043829b
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x44bb23
or dword [ebp + 0x10], 0x200000
jmp 0x44bb5d
or dword [ebp + 0x10], 0x40000
jmp 0x44bb5d
mov eax, dword [0x4755e0]
cmp eax, esi
je 0x44bb5d
push eax
call fcn.00442bde
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x44bb5d
mov eax, dword [0x4755e4]
cmp eax, esi
je 0x44bb5d
push dword [ebp - 4]
push eax
call fcn.00442bde
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 [0x4755dc]
call fcn.00442bde
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4534e0
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x453500
push 0x88
push str..md5.c
push str.md___NULL
call fcn.00453850
add esp, 0xc
mov dword [esi + 8], 0x67452301
mov dword [esi + 0xc], 0xefcdab89
mov dword [esi + 0x10], 0x98badcfe
mov dword [esi + 0x14], 0x10325476
mov dword [esi + 0x18], 0
mov dword [esi], 0
mov dword [esi + 4], 0
pop esi
ret