joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440570
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
cmp dword [eax - 0xc], 0
jne 0x440586
mov eax, dword [esi + 0x24]
cmp dword [eax - 0xc], 0
je 0x4405ea
cmp byte [esi + 0x50], 0
jne 0x4405ea
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
mov edx, dword [eax + 0x1c]
lea eax, [esp + 4]
push eax
lea eax, [esi + 0x58]
push eax
push 5
call edx
test al, al
je 0x4405ad
cmp dword [esp + 4], 0
je 0x4405ea
call fcn.00420750
test al, al
je 0x4405c1
mov ecx, esi
pop esi
add esp, 4
jmp fcn.00441d50
push edi
push 0
push 0
push esi
push 0x442f30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, dword [esi + 0x64]
je 0x4405e9
mov edx, dword [esi + 0x60]
lea ecx, [esi + 0x60]
call dword [edx + 4]
mov dword [esi + 0x64], edi
pop edi
pop esi
pop ecx
ret

Function at 0x441630
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c895e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x509074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor ebx, ebx
mov dword [ebp - 0x10], 0
xor edi, edi
movzx eax, word [ebp + 0xc]
mov esi, dword [0x50ae2c]
push 0xa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x4416a8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4416a8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x4416a8
push dword [ebp + 0xc]
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
call fcn.004043d0
test eax, eax
je 0x44179e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
mov ecx, dword [ebp + 8]
add eax, 0x10
mov dword [ecx], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
call fcn.004043d0
mov ecx, eax
test ecx, ecx
je 0x44179e
test ebx, ebx
jne 0x4416ed
test edi, edi
jne 0x4417ad
mov eax, dword [ecx]
push 1
push edi
call dword [eax]
test eax, eax
je 0x4417a8
lea esi, [eax + 0x10]
mov dword [ebp + 0xc], esi
test edi, edi
js 0x4417ad
cmp edi, dword [esi - 8]
jg 0x4417ad
mov dword [esi - 0xc], edi
mov byte [esi + edi], 0
test edi, edi
je 0x44174e
test esi, esi
je 0x44173e
push edi
test ebx, ebx
je 0x441733
push ebx
push esi
call fcn.004985d0
add esp, 0xc
jmp 0x44174e
push 0
push esi
call fcn.00498b50
add esp, 0xc
call fcn.0049bfad
mov dword [eax], 0x16
call fcn.0049beaf
mov dword [ebp - 4], 3
mov ecx, esi
mov ebx, dword [ebp + 8]
mov edx, ebx
push 0xfde9
call fcn.0040d810
add esp, 4
mov dword [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x441788
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00402570
call fcn.00402590
push 0x80070057
call fcn.00402570
int3
Function at 0x445150
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9656
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x509074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea eax, [edi + 8]
mov dword [edi + 4], 0
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 1
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], 4
lea esi, [edi + 0x30]
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x20], 0x4e263c
mov dword [edi + 0x24], 0x4e61a0
mov dword [edi], 0x4e61d4
mov dword [edi + 0x20], 0x4e61a8
mov dword [edi + 0x24], 0x4e61a4
mov dword [edi + 0x2c], 0
mov dword [ebp - 0x18], esi
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.004025a0
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
mov dword [edi + 0x34], eax
mov eax, dword [ebp + 0x10]
mov byte [edi + 0x38], 0
mov dword [edi + 0x40], eax
mov al, byte [ebp + 0x14]
mov dword [edi + 0x44], 2
mov byte [edi + 0x48], al
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x446d50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9d1d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x509074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x18], 0x4e0930
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
cmp edi, 0xffffffff
jne 0x446db4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x446dd6
push 0
lea eax, [ebp - 0x10]
push eax
push 4
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x446dd4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x446dd6
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], 0x4e0930
test edi, edi
je 0x446df6
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x446e10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9d65
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x509074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
call fcn.004043d0
mov ecx, eax
test ecx, ecx
je 0x446f53
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 1
mov ebx, 0x100
push 0x200
call fcn.00496f43
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
mov eax, dword [ebp + 0xc]
push ebx
push edi
push esi
push dword [eax]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, 0xff
jne 0x446eee
add ebx, ebx
mov byte [ebp - 4], 1
push edi
call fcn.00496f3e
xor ecx, ecx
mov dword [ebp - 0x10], 0
mov eax, ebx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00496f43
mov edi, eax
add esp, 8
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
mov eax, dword [ebp + 0xc]
push ebx
push edi
push esi
push dword [eax]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebx - 1]
cmp eax, ecx
je 0x446e97
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x446ef3
mov ecx, dword [ebp + 0x10]
sub eax, edx
sar eax, 1
push eax
push edi
call fcn.004035e0
mov byte [ebp - 4], 1
push edi
call fcn.00496f3e
add esp, 4
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x446f3f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00402570
int3
Function at 0x4504c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb5c5
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x509074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
movzx eax, word [ebp + 0xc]
xor edi, edi
mov esi, dword [0x50ae2c]
push 0xa
push eax
push esi
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x45052e
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x45052e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x45052e
push ebx
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x10], eax
test edi, edi
je 0x45064e
mov esi, dword [sym.imp.USER32.dll_GetDC]
push 0
call esi
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 0
mov ebx, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x5a
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
test eax, eax
jle 0x4505bd
imul eax, eax, 0x64
cmp eax, 0x25e0
jl 0x4505bd
cmp eax, 0x38a0
jge 0x450578
mov esi, 0x20
jmp 0x4505c2
push 0
call esi
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 1
push 0x5a
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x60
je 0x4505bd
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4e9348]
divsd xmm0, qword [0x4e9350]
addsd xmm0, qword [0x4e9330]
cvttsd2si esi, xmm0
jmp 0x4505c2
mov esi, 0x18
push 0
push esi
push esi
push 1
push edi
call dword [sym.imp.USER32.dll_LookupIconIdFromDirectoryEx]
test eax, eax
je 0x45064e
push 0
push esi
push esi
push 0x30000
push 1
push dword [ebp - 0x10]
add eax, edi
push eax
call dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
mov edi, eax
test edi, edi
je 0x45064e
mov eax, dword [ebp - 0x14]
push dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 1
mov esi, eax
push 0xf7
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp + 0x10]
lea ecx, [ebp + 0xc]
call fcn.0040a060
mov dword [ebp - 4], 2
push dword [ebp + 0xc]
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45064e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x450bc0
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 0x18], 0
push ebx
push ebp
push esi
push edi
mov esi, ecx
jne 0x450dbd
mov ebx, dword [esp + 0x18]
cmp ebx, 0x110
jne 0x450c74
sub esp, 8
mov dword [esi + 0x104], 1
call fcn.004518b0
mov ebx, dword [esp + 0x24]
mov dword [ebx], eax
cmp dword [esi + 0x104], 0
jne 0x450dab
cmp byte [esi + 0x75], 0
lea edi, [esi + 0x70]
mov ebp, dword [edi]
mov dword [edi], 1
je 0x450c27
push 1
push str.IsExterior
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetPropW]
cmp byte [esi + 0x74], 0
je 0x450c49
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x2000000
push eax
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
sub esp, 0xc
lea ecx, [esi + 0x50]
call fcn.00452710
mov dword [edi], 0
mov dword [ebx], 0
cmp dword [edi], 0
jne 0x450da9
mov dword [edi], ebp
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
mov eax, dword [esi + 0x70]
lea edi, [esi + 0x70]
mov dword [esp + 0x28], eax
cmp ebx, 2
jne 0x450cbf
push str.IsExterior
push dword [esi + 4]
mov dword [edi], 1
call dword [sym.imp.USER32.dll_RemovePropW]
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov dword [edi], 0
mov dword [eax], 0
cmp dword [edi], 0
jne 0x450da9
mov dword [edi], ebp
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
mov ebp, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
cmp ebx, 0x4e
jne 0x450d1f
cmp dword [ebp + 8], 0xffffff38
jne 0x450cf2
mov eax, dword [esi + 4]
mov dword [ebp + 0xc], eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push ebp
push dword [esp + 0x20]
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 1
push eax
push ebp
sub esp, 8
mov ecx, esi
call fcn.00452580
cmp dword [esp + 0x18], 0
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
jne 0x450da5
mov edx, dword [esp + 0x1c]
lea ecx, [esi + 0x50]
cmp ebx, 5
jne 0x450d7e
xor eax, eax
test ecx, ecx
cmove esi, eax
cmp byte [ecx + 0x1c], al
je 0x450d64
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [esp + 0x1c]
cmp edx, 2
jne 0x450d55
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x450d69
test edx, edx
jne 0x450d64
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x450d69
cmp edx, 1
je 0x450d9b
mov eax, ebp
lea ecx, [esi + 0x50]
shr eax, 0x10
cwde
push eax
movsx eax, bp
push eax
call fcn.0044eb30
jmp 0x450d9b
cmp ebx, 0x24
jne 0x450db7
cmp dword [ecx + 0x14], 0xffffffff
je 0x450d9b
cmp dword [ecx + 0x18], 0xffffffff
je 0x450d9b
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x1c], ecx
mov eax, dword [esp + 0x24]
mov dword [eax], 0
mov ebp, dword [esp + 0x28]
mov dword [edi], ebp
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
mov ebp, dword [esp + 0x28]
mov dword [edi], ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18
Function at 0x456620
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc5b6
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x509074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea edi, [esi + 0xc]
mov byte [esi], 1
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 0x14], edi
call fcn.004043d0
test eax, eax
je 0x4566f4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 1
lea edi, [esi + 0x18]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 0x14], edi
call fcn.004043d0
test eax, eax
je 0x4566f4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 3
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402570
int3

Function at 0x456850
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [esi + 0x14]
add eax, 4
push eax
push 0
push esi
push 0x456e60
push 0
push 0
call edi
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x20], eax
mov ecx, dword [ecx + 4]
mov dword [esi + 0x24], ecx
test eax, eax
je 0x4568ac
nop
mov esi, dword [esi + 4]
test esi, esi
je 0x4568b4
mov eax, dword [esi + 0x14]
add eax, 4
push eax
push 0
push esi
push 0x456e60
push 0
push 0
call edi
mov dword [esi + 0x20], eax
mov ecx, dword [esi + 0x14]
mov ecx, dword [ecx + 4]
mov dword [esi + 0x24], ecx
test eax, eax
jne 0x456880
pop edi
pop esi
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
xor eax, eax
pop esi
ret
Function at 0x459450
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd2fd
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x509074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebp - 0x14]
mov byte [ebp - 0xd], 0
push eax
call fcn.00459e30
mov dword [ebp - 4], 0
push dword [ebp - 0x14]
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [ebx + 0x1c], eax
test eax, eax
jne 0x4594d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
or edi, 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4594cf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea esi, [ebx + 0x20]
jmp 0x45951a
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebx + 0x20], eax
lea esi, [ebx + 0x20]
test eax, eax
jne 0x459522
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
or edi, 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45951a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x18], 0
jne 0x459582
jmp 0x459546
mov dword [ebp - 4], 0xffffffff
or edi, 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x459546
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi]
push ecx
add eax, 4
push eax
lea eax, [ebx + 8]
push eax
call fcn.0045a120
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x45956b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x1c], 0
mov eax, dword [esi]
test eax, eax
je 0x45957e
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi], 0
mov byte [ebp - 0xd], 1
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.00459ed0
mov dword [ebp - 4], 4
push dword [ebp - 0x20]
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov esi, eax
mov dword [ebp - 0x1c], 0x4e0930
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 5
test esi, esi
je 0x4595bc
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov byte [ebp - 4], 4
mov dword [ebp - 0x1c], 0x4e0930
test esi, esi
je 0x4595d9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x4595f8
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45cc00
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cde5d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
mov eax, dword [0x509074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
push SysReAllocString
call fcn.00408720
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
push 0
push 0
push 0
push 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x14]
mov dword [ebp + 8], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x45cc86
cmp dword [ebp + 8], eax
jne 0x45cc82
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
sete bl
jmp 0x45cc88
mov bl, 1
jmp 0x45cc88
xor bl, bl
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x45cc9d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x45cccc
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x45f230
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce7cd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x509074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 0x160]
sub ecx, 0x10
call fcn.004025a0
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x10]
push 5
push str..part
call fcn.00402420
lea ecx, [ebp - 0x10]
call fcn.0040ea10
test al, al
je 0x45f34c
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x18], 0x4e0930
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
cmp esi, 0xffffffff
jne 0x45f2da
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x18], 0x4e0930
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
jmp 0x45f2fb
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0x4e0930
test esi, esi
je 0x45f302
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], 0
cmp ebx, dword [edi + 0x80]
jb 0x45f311
mov ecx, edi
call fcn.00463280
mov esi, 1
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x45f338
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0x160]
call fcn.0040ea10
test al, al
je 0x45f311
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push dword [edi + 0x160]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x18], 0x4e0930
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 3
cmp esi, 0xffffffff
jne 0x45f3a4
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x18], 0x4e0930
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
jmp 0x45f3c5
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0x4e0930
test esi, esi
je 0x45f3cc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], 0
cmp ebx, dword [edi + 0x80]
jne 0x45f30a
mov esi, 2
jmp 0x45f316
Function at 0x463280
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf24d
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x509074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea esi, [ecx + 0x160]
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.004025a0
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x10]
push 5
push str..part
call fcn.00402420
lea ecx, [ebp - 0x10]
call fcn.0040ea10
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test al, al
je 0x4632ea
push dword [ebp - 0x10]
call edi
mov ecx, esi
call fcn.0040ea10
test al, al
je 0x4632f9
push dword [esi]
call edi
push 0x5c
push dword [esi]
call fcn.00498173
add esp, 8
or edi, 0xffffffff
test eax, eax
je 0x46334b
sub eax, dword [esi]
sar eax, 1
cmp eax, edi
je 0x46334b
push eax
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.0040a8d0
mov byte [ebp - 4], 2
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46334b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x46336a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret