joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44be20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d526d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x515080]
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], 0x4ed624
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
cmp edi, 0xffffffff
jne 0x44be84
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x44bea6
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 0x44bea4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x44bea6
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], 0x4ed624
test edi, edi
je 0x44bec6
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 0x44bee0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d52b5
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x515080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
call fcn.004046f0
mov edi, eax
test edi, edi
je 0x44c03c
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 1
mov ebx, 0x100
push 0x200
call fcn.004a2097
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 0x44bfca
add ebx, ebx
mov byte [ebp - 4], 1
push edi
call fcn.004a2092
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.004a2097
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 0x44bf73
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44bfd0
mov ecx, dword [ebp + 0x10]
sub eax, edx
sar eax, 1
push eax
push edi
call fcn.00403890
mov byte [ebp - 4], 1
push edi
call fcn.004a2092
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 0x44c028
mov edi, dword [esi]
push esi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call 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 0xc
push 0x80004005
call fcn.00402720
int3
Function at 0x451f70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x7c
push ebx
mov eax, ecx
mov dword [esp + 0x40], 0
mov ecx, dword [esp + 0x84]
xorps xmm0, xmm0
push esi
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0xc]
push ecx
push 0
push 0x104b
push dword [eax + 0x1ac]
mov dword [esp + 0x18], eax
movlpd qword [esp + 0x24], xmm0
movlpd qword [esp + 0x2c], xmm0
movlpd qword [esp + 0x34], xmm0
movlpd qword [esp + 0x3c], xmm0
movlpd qword [esp + 0x44], xmm0
movlpd qword [esp + 0x4c], xmm0
mov dword [esp + 0x1c], 4
call dword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
test eax, eax
cmovne ebx, dword [esp + 0x2c]
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, ebx
call esi
test eax, eax
jne 0x4521c4
cmp byte [esp + 0x8c], al
je 0x4521c4
mov esi, dword [esp + 8]
push ebp
xor ebp, ebp
push ebp
push ebp
push 0x1004
push dword [esi + 0x1ac]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x4521c3
push edi
nop word [eax + eax]
lea eax, [esp + 0x50]
mov dword [esp + 0x88], 0
push eax
xorps xmm0, xmm0
mov dword [esp + 0x58], ebp
push 0
push 0x104b
push dword [esi + 0x1ac]
movlpd qword [esp + 0x68], xmm0
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0x78], xmm0
movlpd qword [esp + 0x80], xmm0
movlpd qword [esp + 0x88], xmm0
movlpd qword [esp + 0x90], xmm0
mov dword [esp + 0x60], 4
call dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
test eax, eax
cmovne edi, dword [esp + 0x70]
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
test eax, eax
jne 0x45219b
cmp dword [esp + 0x90], ebp
jge 0x4520f7
cmp byte [ebx + 0x144], al
jne 0x452138
mov edx, dword [ebx + 0x14c]
xor ecx, ecx
test edx, edx
jle 0x45219b
test ecx, ecx
js 0x4521cc
cmp ecx, edx
jge 0x4521cc
mov eax, dword [ebx + 0x148]
cmp dword [eax + ecx*4], edi
je 0x452138
inc ecx
cmp ecx, edx
jl 0x4520d2
jmp 0x45219b
jle 0x45219b
cmp byte [edi + 0x144], 0
jne 0x452138
mov edx, dword [edi + 0x14c]
xor eax, eax
test edx, edx
jle 0x45219b
test eax, eax
js 0x4521cc
cmp eax, edx
jge 0x4521cc
mov ecx, dword [edi + 0x148]
cmp dword [ecx + eax*4], ebx
je 0x452138
inc eax
cmp eax, edx
jl 0x452116
jmp 0x45219b
lea eax, [esp + 0x50]
mov dword [esp + 0x58], 0
push eax
mov eax, dword [esp + 0x14]
xorps xmm0, xmm0
push ebp
push 0x102b
movlpd qword [esp + 0x5c], xmm0
push dword [eax + 0x1ac]
movlpd qword [esp + 0x74], xmm0
movlpd qword [esp + 0x7c], xmm0
movlpd qword [esp + 0x84], xmm0
movlpd qword [esp + 0x8c], xmm0
movlpd qword [esp + 0x94], xmm0
mov dword [esp + 0x6c], 0x1000
mov dword [esp + 0x70], 0xf000
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x10]
inc ebp
push 0
push 0
push 0x1004
push dword [eax + 0x1ac]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp ebp, eax
jge 0x4521c2
mov esi, dword [esp + 0x10]
jmp 0x452030
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x7c
ret 8
push 0x8000000b
call fcn.00402720
int3
Function at 0x4560b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d69f5
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x515080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
movzx eax, word [ebp + 0xc]
xor edi, edi
mov esi, dword [0x516d44]
push 0xa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x45611c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x45611c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x45611c
push ebx
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
jmp 0x45611e
xor ebx, ebx
test edi, edi
je 0x456250
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
push 0x5a
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 4], 0xffffffff
test eax, eax
jle 0x4561b1
imul eax, eax, 0x64
cmp eax, 0x25e0
jl 0x4561b1
cmp eax, 0x38a0
jge 0x456164
mov esi, 0x20
jmp 0x4561b6
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
push 0x5a
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x60
je 0x4561b1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4f6020]
divsd xmm0, qword [0x4f6028]
addsd xmm0, qword [0x4f6008]
cvttsd2si esi, xmm0
jmp 0x4561b6
mov esi, 0x18
push 0
push esi
push esi
push 1
push edi
call dword [sym.imp.USER32.dll_LookupIconIdFromDirectoryEx]
test eax, eax
je 0x456250
push 0
push esi
push esi
push 0x30000
push 1
push ebx
add eax, edi
push eax
call dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
mov edi, eax
test edi, edi
je 0x456250
mov eax, dword [ebp - 0x10]
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 - 0x10]
call fcn.0040a810
mov dword [ebp - 4], 2
push dword [ebp - 0x10]
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x456250
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call 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 0xc
Function at 0x456800
Capabilities:
Hide graphical window

Disassembly:
push ecx
cmp dword [esp + 0x1c], 0
push ebx
push ebp
push esi
push edi
mov esi, ecx
jne 0x4569fb
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
cmp ebp, 0x110
jne 0x4568c7
sub esp, 8
mov dword [esi + 0x104], 1
call fcn.004577c0
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
cmp dword [esi + 0x104], 0
jne 0x4569eb
cmp byte [esi + 0x75], 0
mov edi, dword [esi + 0x70]
mov dword [esi + 0x70], 1
je 0x45686f
push 1
push str.IsExterior
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetPropW]
cmp byte [esi + 0x74], 0
je 0x456891
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.004587c0
mov eax, dword [esp + 0x28]
mov dword [esi + 0x70], 0
mov dword [eax], 0
cmp dword [esi + 0x70], 0
je 0x45695c
mov dword [esi + 0x70], edi
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x18
mov edi, dword [esi + 0x70]
cmp ebp, 2
jne 0x456909
push str.IsExterior
push dword [esi + 4]
mov dword [esi + 0x70], 1
call dword [sym.imp.USER32.dll_RemovePropW]
mov eax, dword [esp + 0x28]
mov dword [esi + 0x70], 0
mov dword [eax], 0
cmp dword [esi + 0x70], 0
je 0x45695c
mov dword [esi + 0x70], edi
lea eax, [ebp - 1]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x18
cmp ebp, 0x4e
jne 0x456960
cmp dword [ebx + 8], 0xffffff38
jne 0x456933
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push ebx
push dword [esp + 0x24]
push ebp
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 1
push eax
push ebx
sub esp, 8
mov ecx, esi
call fcn.004585f0
cmp dword [esp + 0x10], 0
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
jne 0x4569e8
mov edx, dword [esp + 0x20]
lea ecx, [esi + 0x50]
cmp ebp, 5
jne 0x4569c1
xor eax, eax
mov ebp, esi
test ecx, ecx
cmove ebp, eax
cmp byte [ecx + 0x1c], al
je 0x4569a7
push 0xe801
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [esp + 0x20]
cmp edx, 2
jne 0x456998
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4569ac
test edx, edx
jne 0x4569a7
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4569ac
cmp edx, 1
je 0x4569de
mov eax, ebx
lea ecx, [ebp + 0x50]
shr eax, 0x10
cwde
push eax
movsx eax, bx
push eax
call fcn.004545f0
jmp 0x4569de
cmp ebp, 0x24
jne 0x4569f8
cmp dword [ecx + 0x14], 0xffffffff
je 0x4569de
cmp dword [ecx + 0x18], 0xffffffff
je 0x4569de
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], ecx
mov eax, dword [esp + 0x28]
mov dword [eax], 0
mov dword [esi + 0x70], edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0x18
mov dword [esi + 0x70], edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0x18
Function at 0x45a120
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 1
push dword [edi + 0xb4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x8040
push 0
mov edx, 0x7f01
xor ecx, ecx
call fcn.0040e530
add esp, 8
push 0
push eax
push 0x170
push dword [edi + 0xb4]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [edi + 0xcc]
push dword [edi + 0xb0]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [edi + 0x98]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x45a192
mov eax, dword [ebx]
push dword [edi + 0xcc]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4e2514]
mov ecx, ebx
call esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x45a1d8
mov eax, dword [edi + 0x98]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x45a1d8
mov eax, dword [edi + 0xa8]
mov esi, dword [ebx]
push 0x4e20
push dword [eax + 0x34]
mov esi, dword [esi + 0xc]
mov ecx, esi
push dword [edi + 0xcc]
call dword [0x4e2514]
mov ecx, ebx
call esi
call fcn.00421d60
test al, al
je 0x45a258
push 0x8040
push 0
mov edx, 0x7f01
lea esi, [edi + 0x88]
xor ecx, ecx
call fcn.0040e530
add esp, 8
mov ecx, esi
push eax
call fcn.0045a260
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x45a258
mov eax, dword [ebx]
push ebp
mov ebp, dword [eax + 0x28]
xor eax, eax
test esi, esi
cmove edi, eax
mov esi, dword [edi + 4]
nop dword [eax]
push 0xfffffffffffffff0
push esi
mov edi, esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x45a23b
push esi
call dword [sym.imp.USER32.dll_GetParent]
jmp 0x45a244
push 4
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x45a220
push eax
push edi
push ebx
mov ecx, ebp
call dword [0x4e2514]
call ebp
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x45cb50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7926
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x515080]
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 + 0xc]
mov byte [edi], 1
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 0x14], eax
call fcn.004046f0
mov ebx, eax
test ebx, ebx
je 0x45cc40
mov ecx, dword [ebx]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, ebx
call esi
add eax, 0x10
mov dword [edi + 0xc], eax
mov dword [ebp - 4], 1
lea eax, [edi + 0x18]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [ebp - 0x14], eax
call fcn.004046f0
mov ebx, eax
test ebx, ebx
je 0x45cc40
mov ecx, dword [ebx]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, ebx
call esi
add eax, 0x10
mov dword [edi + 0x18], eax
mov byte [ebp - 4], 3
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 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
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402720
int3

Function at 0x45cdc0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
add eax, 4
push eax
push 0
push esi
push 0x45d420
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x20], eax
mov ecx, dword [ecx + 4]
mov dword [esi + 0x24], ecx
test eax, eax
je 0x45ce20
nop dword [eax]
mov esi, dword [esi + 4]
test esi, esi
je 0x45ce27
mov eax, dword [esi + 0x14]
add eax, 4
push eax
push 0
push esi
push 0x45d420
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x20], eax
mov ecx, dword [esi + 0x14]
mov ecx, dword [ecx + 4]
mov dword [esi + 0x24], ecx
test eax, eax
jne 0x45cdf0
pop esi
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
pop esi
ret
Function at 0x463e80
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d90dd
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x515080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x1c]
push SysReAllocString
call fcn.00408da0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
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 - 0x18]
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x463f08
cmp dword [ebp - 0x10], eax
jne 0x463f04
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
sete bl
jmp 0x463f0a
mov bl, 1
jmp 0x463f0a
xor bl, bl
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x463f1f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x463f5a
mov edi, dword [ecx]
push ecx
mov edx, dword [edi]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4668c0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9a4d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x515080]
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.00402750
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x10]
push 5
push str..part
call fcn.004025b0
lea ecx, [ebp - 0x10]
call fcn.0040f270
test al, al
je 0x4669e8
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], 0x4ed624
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
cmp esi, 0xffffffff
jne 0x46696a
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x18], 0x4ed624
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
jmp 0x46698b
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0x4ed624
test esi, esi
je 0x466992
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], 0
cmp ebx, dword [edi + 0x80]
jb 0x4669a1
mov ecx, edi
call fcn.0046aed0
mov ebx, 1
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4669d4
mov edi, dword [ecx]
push ecx
mov edx, dword [edi]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
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
lea ecx, [edi + 0x160]
call fcn.0040f270
test al, al
je 0x4669a1
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], 0x4ed624
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 3
cmp esi, 0xffffffff
jne 0x466a40
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x18], 0x4ed624
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
jmp 0x466a61
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0x4ed624
test esi, esi
je 0x466a68
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], 0
cmp ebx, dword [edi + 0x80]
jne 0x46699a
mov ebx, 2
jmp 0x4669a6
Function at 0x481360
Capabilities:
Create directory
Hash data with md5

Disassembly:
push ebp
lea ebp, [esp - 0xc4]
sub esp, 0xc4
push 0xffffffffffffffff
push 0x4de5dd
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x515080]
xor eax, ebp
mov dword [ebp + 0xc0], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x14], ecx
lea ecx, [ebp]
call fcn.00406810
mov dword [ebp - 4], 0
lea ecx, [ebp + 0x18]
push ecx
mov ecx, eax
call fcn.00423610
mov edx, eax
mov byte [ebp - 4], 1
cmp dword [edx + 0x14], 7
jbe 0x4813c6
mov edx, dword [edx]
test edx, edx
jne 0x4813ce
xor ecx, ecx
jmp 0x4813e2
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4813d3
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, ebx
call fcn.00403890
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x18]
call fcn.004040e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.004040e0
mov ecx, ebx
call fcn.0040ecb0
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x48141c
xor al, al
jmp 0x481565
call fcn.004046f0
mov edi, eax
test edi, edi
je 0x481588
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 5
lea edx, [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
push 0
mov ecx, dword [ecx]
call fcn.0040df30
mov esi, dword [ebp - 0x10]
add esp, 4
cmp dword [esi - 4], 1
jle 0x481472
push dword [esi - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00404e50
mov esi, dword [ebp - 0x10]
xor eax, eax
mov byte [ebp + 0x98], 0
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x44], 0
mov dword [ebp + 0x30], 0x67452301
mov dword [ebp + 0x34], 0xefcdab89
mov dword [ebp + 0x38], 0x98badcfe
mov dword [ebp + 0x3c], 0x10325476
cmp byte [esi], al
je 0x4814b7
nop dword [eax]
inc eax
cmp byte [eax + esi], 0
jne 0x4814b0
push eax
push esi
lea ecx, [ebp + 0x30]
call fcn.004104c0
lea ecx, [ebp + 0x30]
call fcn.00410590
lea ecx, [ebp + 0x30]
call fcn.00410590
cmp byte [ebp + 0x98], 0
je 0x481520
xor edi, edi
nop dword [eax]
mov dl, byte [ebp + edi + 0x88]
mov cl, dl
shr cl, 4
cmp cl, 0xa
sbb al, al
and dl, 0xf
and al, 0xd9
add al, 0x57
add al, cl
cmp dl, 0xa
mov byte [ebp + edi*2 + 0x9c], al
sbb al, al
and al, 0xd9
add al, 0x57
add al, dl
mov byte [ebp + edi*2 + 0x9d], al
inc edi
cmp edi, 0x10
jl 0x4814e0
mov byte [ebp + 0xbc], 0
lea eax, [ebp + 0x9c]
mov ecx, ebx
push eax
call fcn.0040d900
push 0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x481563
mov edi, dword [esi]
push esi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc0]
xor ecx, ebp
call fcn.004a1cf0
lea esp, [ebp + 0xc4]
pop ebp
ret
push 0x80004005
call fcn.00402720
int3
Function at 0x4a1bfd
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.004b3bf9
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x4a1c3c
sub eax, 1
je 0x4a1c37
sub eax, 1
je 0x4a1c33
xor eax, eax
leave
ret
push 3
jmp 0x4a1c3e
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x4a2af3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4a2b32
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4a2b32
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4a2b32
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4a2b32
cmp dword [ecx + 0x74], 0xe
jbe 0x4a2b32
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret