joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f810
Capabilities:
Check http status code

Disassembly:
push 0xffffffffffffffff
push 0x4879db
mov eax, dword fs:[0]
push eax
sub esp, 0x814
mov eax, dword [0x4afe78]
xor eax, esp
mov dword [esp + 0x810], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4afe78]
xor eax, esp
push eax
lea eax, [esp + 0x828]
mov dword fs:[0], eax
mov edi, dword [esp + 0x838]
inc dword [0x4b1358]
mov ebx, 0x400
mov esi, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], 0xffffffff
call fcn.0044dc57
xor ecx, ecx
xor ebp, ebp
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x41f887
push 0x80004005
call fcn.00401280
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov ecx, dword [0x4b1358]
push ecx
lea edx, [esp + 0x24]
push str.querysize_d
push edx
mov dword [esp + 0x83c], ebp
call fcn.00403ac0
mov eax, dword [esp + 0x2c]
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov dword [esp + 0x20], ebp
call fcn.0041ead0
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x41f9ef
push 0
push 0x84000100
push 0xffffffffffffffff
push 0
push edi
push ebp
mov ecx, esi
call fcn.0041e770
mov esi, eax
test esi, esi
je 0x41f9fe
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
push 0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x2c]
push eax
push 5
push esi
call edi
lea ecx, [esp + 0x24]
push ecx
call fcn.0046e2cc
add esp, 4
push 0
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x2c]
push eax
push 0x13
push esi
mov dword [esp + 0x28], ebx
call edi
lea ecx, [esp + 0x24]
push ecx
call fcn.0046e2cc
add esp, 4
cmp eax, 0x194
jne 0x41f954
mov dword [esp + 0x1c], 0xffffffff
jmp 0x41f9f3
lea edx, [esp + 0x24]
push edx
call fcn.0046e2cc
add esp, 4
cmp eax, 0xc8
je 0x41f986
lea eax, [esp + 0x24]
push eax
call fcn.0046e2cc
add esp, 4
cmp eax, 0xce
je 0x41f986
mov dword [esp + 0x1c], 0xffffffff
jmp 0x41f9f3
cmp dword [0x4ae384], 1
je 0x41f9f3
push 0x800
lea ecx, [esp + 0x28]
push 0
push ecx
mov dword [esp + 0x20], ebx
call fcn.0046e0a0
add esp, 0xc
push 0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x2c]
push eax
push 0x25
push esi
call edi
push str.qupdater2.xx
lea ecx, [esp + 0x1c]
call fcn.00401bd0
lea ecx, [esp + 0x24]
push ecx
push eax
call fcn.00408920
add esp, 8
lea ecx, [esp + 0x18]
mov bl, al
call fcn.00401580
test bl, bl
je 0x41f9f3
mov dword [0x4ae384], 1
jmp 0x41f9f3
mov esi, dword [esp + 0x18]
test esi, esi
je 0x41f9fe
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test ebp, ebp
je 0x41fa09
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x830], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41fa34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x828]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x810]
xor ecx, esp
call fcn.0046dc02
add esp, 0x820
ret 4
Function at 0x4278e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x488720
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4afe78]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
push eax
mov dword [esp + 0x28], esi
call fcn.00401660
add eax, 0x10
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x24], 1
cmp dword [eax - 0xc], esi
je 0x42796c
lea esi, [eax - 0x10]
push esi
call fcn.00401660
mov edi, dword [esp + 0x30]
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov byte [esp + 0x24], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x427a51
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x427a51
push 0x4b14a8
lea ecx, [esp + 0x10]
call fcn.00401ab0
mov ecx, dword [0x4b14a4]
push ecx
push str.listurl_base
lea ecx, [esp + 0x14]
call fcn.00403660
mov edx, dword [esp + 0x34]
push edx
push str.filename
lea ecx, [esp + 0x14]
call fcn.00403660
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x495308
call fcn.00401bd0
mov eax, dword [esp + 0x10]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov esi, esp
push eax
mov byte [esp + 0x30], 2
call fcn.00401660
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0x1c]
add esp, 4
push eax
mov byte [esp + 0x30], 1
call fcn.0040c1f0
add esp, 0xc
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 3
call fcn.00401ab0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x24], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427a1a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0xc]
add esi, 0xfffffff0
push esi
call fcn.00401660
mov edi, dword [esp + 0x30]
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [esp + 0x24], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427a51
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
lea ecx, [esp + 0x30]
call fcn.00402ec0
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret
Function at 0x427a70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x488748
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4afe78]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
test esi, esi
jge 0x427ab1
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret
cmp esi, dword [0x4b1470]
jge 0x427a9d
push 0xf0013
call fcn.00426cc0
add esp, 4
lea ecx, [esp + 0xc]
mov edi, eax
call fcn.00408c10
cmp esi, dword [0x4b1470]
mov dword [esp + 0x38], 0
jge 0x427b55
mov ecx, dword [0x4b146c]
lea eax, [esi + esi*8]
lea edx, [ecx + eax*4]
push edx
lea ecx, [esp + 0x10]
call fcn.0040a2c0
mov eax, dword [esp + 0x44]
push eax
lea ecx, [esp + 0x20]
call fcn.004050d0
push 0x48fb68
lea ecx, [esp + 0x20]
call fcn.004050d0
sub esp, 0x24
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x64], esp
push edx
call fcn.004032f0
push esi
mov ecx, 0x4b1468
call fcn.00427280
push edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [esp + 0xc]
call fcn.00402ec0
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret
call fcn.0044d954
int3
Function at 0x42a041
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov ecx, 0x4b1468
call fcn.00414c40
cmp eax, 5
jne 0x42a07f
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x429d40
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
pop esi
pop ecx
ret
mov ecx, 0x4b1468
call fcn.00414c40
cmp eax, 6
jl 0x42a079
mov ecx, esi
pop esi
add esp, 4
jmp fcn.004483cd

Function at 0x42a340
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x485378
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4afe78]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x42a41f
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42a373
sub eax, edx
sar eax, 1
je 0x42a41f
call fcn.0044dc57
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42a3a2
push 0x80004005
call fcn.00401280
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push 0x493688
push edx
mov dword [esp + 0x20], 0
call fcn.00403ac0
add esp, 0xc
push 0x492910
push 0x493684
lea ecx, [esp + 0x24]
call fcn.00403660
mov esi, dword [esp + 0x1c]
push 0
push 0
push esi
push edi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esi - 0x10]
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a41f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret
Function at 0x42ab00
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x488d80
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4afe78]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, dword [esp + 0x44]
push edi
lea ecx, [esp + 0x14]
call fcn.00401bd0
push 4
push str..
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], 0
call fcn.004039f0
push 0x48ef18
push 0x48ef10
lea ecx, [esp + 0x18]
call fcn.00403660
lea ecx, [esp + 0x1c]
call fcn.00453c6b
mov eax, dword [esp + 0x10]
push 0
mov bl, 1
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], bl
call fcn.00453d03
test eax, eax
je 0x42ac1c
lea ecx, [esp + 0x1c]
call fcn.004539e2
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.00453c2c
test eax, eax
jne 0x42ac14
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x20]
call eax
test eax, eax
je 0x42abd2
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
call fcn.00453f74
mov eax, dword [eax]
push eax
mov byte [esp + 0x40], 2
call fcn.0042ab00
mov eax, dword [esp + 0x18]
jmp 0x42abf1
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
call fcn.00453f74
mov eax, dword [eax]
push eax
mov byte [esp + 0x40], 3
call fcn.0040c4d0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
mov byte [esp + 0x40], bl
add esp, 4
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42ac14
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x42ab86
lea ecx, [esp + 0x1c]
call fcn.004538fc
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 0
call fcn.00453c94
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ac62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x30
ret
Function at 0x42dc11
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov ecx, 0x4b1468
call fcn.00414c40
cmp eax, 9
jne 0x42dc49
lea eax, [esp + 4]
push eax
push 0
push esi
push fcn.0042dac0
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.0042a200
mov ecx, esi
pop esi
add esp, 4
jmp fcn.00457a86

Function at 0x42dc70
Capabilities:
Terminate process

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42dcfd
lea eax, [esp + 4]
push eax
push 0x64
push 2
push 0
push 0
push 0x11
push esi
mov dword [esp + 0x20], 0
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
cmp dword [esp + 4], 0
jne 0x42dcab
xor al, al
pop esi
pop ecx
ret
push edi
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0
push 0x10
push esi
call edi
push 0
push 0
push 0x12
push esi
call edi
mov ecx, dword [esp + 0x14]
push ecx
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
pop edi
test esi, esi
je 0x42dcfd
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42dcf6
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
pop ecx
ret
Function at 0x430651
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0042dd60
mov ecx, 0x4b1468
call fcn.00414c40
cmp eax, 6
jne 0x43068e
lea eax, [esp + 4]
push eax
push 0
push esi
push fcn.004303b0
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
pop esi
add esp, 4
jmp fcn.00457a86
Function at 0x434dc0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48a096
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x4afe78]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push esi
push edi
mov eax, dword [0x4afe78]
xor eax, esp
push eax
lea eax, [esp + 0x264]
mov dword fs:[0], eax
call fcn.004088a0
mov esi, eax
mov edi, edx
call fcn.0044dc57
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x434e1f
push 0x80004005
call fcn.00401280
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push edi
push esi
lea ecx, [esp + 0x1c]
push 0x48fc34
push ecx
mov dword [esp + 0x27c], ebx
call fcn.00403ac0
mov esi, dword [esp + 0x24]
push esi
push str.OwerCheckTm
push 0x48e960
call fcn.00411290
add esp, 0x1c
push 0x104
lea edx, [esp + 0x5c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x38
lea eax, [esp + 0x24]
push ebx
push eax
call fcn.0046e0a0
lea ecx, [esp + 0x64]
add esp, 0xc
mov dword [esp + 0x2c], ecx
push str.downparam0
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0x3c
mov dword [esp + 0x24], 0x40
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.00401bd0
mov eax, 1
mov byte [esp + 0x26c], al
cmp dword [0x4ae384], eax
jne 0x434ed1
push 0xa
push str.downparam1
lea ecx, [esp + 0x18]
call fcn.00401840
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.0040b270
mov ecx, dword [eax]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x38], ecx
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x434f14
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x26c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x434f46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x26c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434f6d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x264]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.0046dc02
add esp, 0x260
ret
Function at 0x43c202
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x4b1468
call fcn.00414c40
test eax, eax
jne 0x43c21b
lea eax, [esp + 0xc]
push eax
jmp 0x43c241
mov ecx, 0x4b1468
call fcn.00414c40
cmp eax, 3
jne 0x43c262
cmp dword [0x4b14c0], 0
jle 0x43c262
cmp dword [0x4b1470], 0
jne 0x43c262
lea ecx, [esp + 0xc]
push ecx
push 0
push esi
push fcn.0043b710
push 0
push 0
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.00434100
mov ecx, esi
call fcn.00457a86
mov edx, dword [esi + 0x110]
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0xf000f
push 0x201
push edx
mov edi, eax
call ebx
mov eax, dword [esi + 0x110]
push 0
push 0xf000f
push 0x202
push eax
call ebx
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x43c2c0
Capabilities:
Create thread

Disassembly:
sub esp, 8
push esi
mov ecx, 0x4b14b4
call fcn.004015a0
push 0xffffffffffffffff
xor esi, esi
push esi
mov ecx, 0x4b14b8
call fcn.0044e129
push 0x48e98c
push str.CheckVerNumber
push str.APPLICATION
call fcn.0040d2c0
add esp, 0xc
test al, al
je 0x43c3f0
push ebp
push edi
lea eax, [esp + 0xc]
push eax
push esi
push esi
push 0x434fa0
push esi
push esi
lea ebp, [esi + 1]
mov dword [0x4b1698], esi
mov dword [esp + 0x24], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x4952d8
push str.TimeOut
lea ecx, [esp + 0x18]
push 0x48e960
push ecx
call fcn.0040c9c0
mov eax, dword [eax]
push eax
call fcn.0046e2e2
mov edi, eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x14
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43c36c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebx
lea ebx, [edi + edi*4]
add ebx, ebx
test ebx, ebx
jle 0x43c3b7
push 0xf000d
call fcn.00426cc0
mov ecx, dword [0x4b1698]
add esp, 4
cmp ecx, 2
jne 0x43c392
xor ebp, ebp
jmp 0x43c39a
cmp ecx, 3
jne 0x43c39f
lea ebp, [ecx - 2]
mov esi, edi
imul esi, esi, 0x64
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, ebx
jl 0x43c376
test ebp, ebp
je 0x43c3d4
mov ecx, dword [esp + 0x1c]
push ecx
push 2
mov ecx, 0x4b1468
call fcn.00415250
pop ebx
pop edi
pop ebp
xor eax, eax
pop esi
add esp, 8
ret 4
mov edx, dword [0x4b14b4]
cmp dword [edx - 0xc], 0
jne 0x43c3e7
mov eax, dword [esp + 0x1c]
push eax
jmp 0x43c3bc
mov ecx, dword [esp + 0x1c]
push ecx
push 3
jmp 0x43c3be
mov edx, dword [esp + 0x10]
push edx
call fcn.0043b710
xor eax, eax
pop esi
add esp, 8
ret 4
Function at 0x43c700
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x48adc9
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4afe78]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push ebx
push ebx
mov dword [esp + 0x18], ebx
mov ax, word [esp + 0x3c]
push 3
lea edx, [esp + 0x24]
push edx
push 2
mov word [esp + 0x48], ax
lea eax, [esp + 0x48]
push eax
push ebx
xor ecx, ecx
push 0xfde9
mov dword [esp + 0x48], ebx
mov word [esp + 0x56], cx
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x30]
push ecx
push edi
mov ecx, esi
call fcn.0043c660
mov edx, dword [esp + 0x19]
push edx
lea eax, [esp + 0x18]
push eax
mov ecx, esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x18], 1
call fcn.0043c660
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, edi
mov dword [esp + 0x30], 1
call fcn.004039f0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x28], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c7d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1a]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.0043c660
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, edi
mov dword [esp + 0x30], 2
call fcn.004039f0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x28], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c81e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 8
Function at 0x43d8c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x43d8cb
xor eax, eax
ret
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 4]
push esi
not eax
cmp edx, 8
jb 0x43d9a9
mov esi, edx
shr esi, 3
push edi
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x496b58]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x496b58]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x496b58]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x496b58]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x496b58]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x496b58]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x496b58]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x496b58]
inc ecx
sub edx, 8
sub esi, 1
jne 0x43d8e5
pop edi
test edx, edx
je 0x43d9cb
lea ecx, [ecx]
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x496b58]
inc ecx
sub edx, 1
jne 0x43d9b0
not eax
pop esi
ret

Function at 0x43d9d0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

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

Function at 0x43df60
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ebx
imul esi, dword [esp + 0x18]
cmp byte [edi], 0
je 0x43dfa2
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 4]
push 0
lea eax, [esp + 0x18]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43df96
mov byte [edi + 8], 1
mov eax, dword [esp + 0x14]
pop edi
xor edx, edx
pop esi
div ebx
pop ebx
ret
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x18]
lea edx, [ecx + esi]
cmp edx, eax
jbe 0x43dfb3
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x14]
add eax, ecx
mov ecx, dword [esp + 0x10]
push esi
push eax
push ecx
call fcn.0046fb60
add dword [edi + 0x1c], esi
add esp, 0xc
pop edi
mov eax, esi
xor edx, edx
pop esi
div ebx
pop ebx
ret
Function at 0x43f1f0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0x414
mov eax, dword [0x4afe78]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
mov ebx, dword [esp + 0x420]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
mov esi, dword [esp + 0x424]
test esi, esi
je 0x43f230
push esi
call ebp
cmp eax, 0xffffffff
jne 0x43f230
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [ebx]
test ax, ax
je 0x43f316
mov ecx, ebx
mov edx, ebx
movzx eax, ax
cmp ax, 0x2f
je 0x43f24f
cmp ax, 0x5c
jne 0x43f251
mov ecx, edx
movzx eax, word [edx + 2]
add edx, 2
test ax, ax
jne 0x43f243
push edi
cmp ecx, ebx
je 0x43f294
sub ecx, ebx
sar ecx, 1
add ecx, ecx
mov edi, ecx
push edi
lea eax, [esp + 0x21c]
push ebx
push eax
call fcn.0046fb60
lea edx, [esp + 0x224]
push edx
xor ecx, ecx
push esi
mov word [esp + edi + 0x22c], cx
call fcn.0043f1f0
add esp, 0x14
xor eax, eax
mov word [esp + 0x10], ax
test esi, esi
je 0x43f2bf
lea edx, [esp + 0x10]
mov eax, esi
sub edx, esi
jmp 0x43f2b0
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x43f2b0
mov eax, ebx
mov edx, ebx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43f2c3
lea edi, [esp + 0x10]
sub eax, edx
add edi, 0xfffffffe
jmp 0x43f2e0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x43f2e0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call ebp
pop edi
cmp eax, 0xffffffff
jne 0x43f316
push 0
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [esp + 0x41c]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046dc02
add esp, 0x414
ret