joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4540b0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49a658
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x4540e9
inc eax
mov dword [esi + 0x10], eax
jmp 0x4541fc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4540fd
mov eax, 0xffffffc7
jmp 0x4541fe
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x45410e
cmp dword [esi + 8], eax
jne 0x4540fd
cmp dword [esi + 8], eax
jne 0x454127
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x454127
mov eax, 0xffffffc7
jmp 0x4541fe
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x45413b
push eax
mov ecx, ebx
call fcn.004538e0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.0041f4a0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x45416c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.0041f4c0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00453050
test eax, eax
mov dword [esp + 0x38], eax
je 0x45419f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x6bb440
call fcn.0041f6a0
mov eax, dword [esp + 0x38]
jmp 0x4541fe
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00453f10
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4541e3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00453f30
mov esi, eax
test esi, esi
jne 0x454213
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00453f10
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4541b5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x6bb440
call fcn.0041f6a0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x6bb440
call fcn.0041f6a0
mov eax, esi
jmp 0x4541fe

Function at 0x457320
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x457380
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x457380
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x457380
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x457380
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x4573c0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop ecx
ret
Function at 0x45d510
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x49ac88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00491052
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0045ceb0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00490f80
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0048d761
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0048d761
push 1
push 0
push 0
mov ecx, esi
call fcn.0048d709
push 1
push 0
push 1
mov ecx, esi
call fcn.0048d709
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004910c4
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x45d690
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x49aca8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00491052
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0045ceb0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00490f80
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x45d754
cmp dword [esp + 0x40], 1
jne 0x45d752
cmp ecx, eax
jge 0x45d754
mov eax, ecx
cmp eax, 0xc8
jge 0x45d760
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0045d510
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004910c4
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x45dee0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x49ad13
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0048bb81
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004912fa
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00492852
test eax, eax
je 0x45dffc
mov ecx, dword [esp + 0x3c]
call fcn.00491327
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x45dfc0
push edi
mov ecx, esi
call fcn.0048e8e8
mov ecx, esi
call fcn.0045e160
cmp dword [esp + 0x38], 1
jne 0x45dff5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0048ea52
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x460a10
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x460a43
push esi
call fcn.00463b00
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x460a3c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x460ac9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x460ab2
mov eax, dword [esi + 8]
test eax, eax
je 0x460a67
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x460aae
cmp eax, 2
je 0x460ab2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x460a5a
cmp eax, 3
je 0x460a8d
cmp eax, 1
jne 0x460a5a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x460a5a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x460a5a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00460af0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x460ad8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00460af0
add esp, 4
pop esi
ret

Function at 0x46e290
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x46e2f6
mov ebx, dword [sym.imp.KERNEL32.DLL_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x46e2f6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x46e2d7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x46e680
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x46e6b8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x46f340
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x46f389
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x46f800
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49b4b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0046f3b0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0046f430
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0046f430
lea ecx, [esi + 0xc]
call fcn.0048a4e8
lea ecx, [esi + 0x10]
call fcn.0048a4e8
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004709c0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004709c0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004709c0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0048a55d
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0048a55d
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x48c977
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48c9af
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0048aa04
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048a9dc
jmp 0x48c9bb
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48e069
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x48e0ab
call fcn.00494014
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
cmp eax, edi
je 0x48e0ab
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, edi
jne 0x48e0a2
xor eax, eax
jmp 0x48e0b3
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048e0b9
pop edi
pop esi
pop ebx
ret 4

Function at 0x494544
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x494572
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
test eax, eax
je 0x494590
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004944aa
jmp 0x494590
mov eax, dword [esi + 0x14]
test eax, eax
je 0x494590
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004944aa
test edi, edi
mov eax, edi
jne 0x49457a
pop edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x401000
Capabilities:
Write file on windows

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
mov eax, 0x4058
push ebp
mov ebp, esp
call fcn.00403548
sub esp, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov dword [ebp - 8], esi
add ebx, 8
mov dword [ebp - 4], edi
mov esi, dword [ecx + 4]
mov edi, dword [ecx]
mov dword [esp], 0xfffffff5
call dword [sym.imp.kernel32.dll_GetStdHandle]
xor ecx, ecx
mov dword [ebp - 0x401c], ecx
mov dword [ebp - 0x402c], eax
sub esp, 4
xor eax, eax
mov dword [esp + 0x18], ebx
xor ebx, ebx
mov dword [esp + 0x14], ebx
lea ebx, [ebp - 0x4018]
mov dword [esp + 0x10], esi
mov esi, 0x2000
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp], 4
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll___stdio_common_vswprintf]
lea ecx, [ebp - 0x4020]
mov edx, 0xffffffff
mov dword [esp + 0xc], ecx
mov dword [esp + 4], ebx
mov dword [esp], edi
test eax, eax
cmovns edx, eax
xor eax, eax
mov dword [esp + 0x10], eax
mov esi, edx
mov dword [esp + 8], edx
call dword [sym.imp.kernel32.dll_WriteConsoleW]
sub esp, 0x14
test eax, eax
jne 0x4010e4
cmp dword [ebp - 0x402c], edi
lea ecx, [ebp - 0x4020]
je 0x401108
mov dword [esp + 0xc], ecx
xor eax, eax
mov dword [esp + 0x10], eax
lea eax, [esi + esi]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_WriteFile]
sub esp, 0x14
mov eax, dword [ebp - 0x401c]
mov edx, dword [ebp - 0x4020]
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
add eax, edx
pop ebp
lea esp, [ecx - 4]
ret
mov edx, dword [section..bss]
test edx, edx
jne 0x4010c3
mov dword [esp], edi
xor eax, eax
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x401c]
mov dword [esp + 0xc], eax
mov eax, 2
mov dword [esp + 8], eax
mov eax, 0x405156
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_WriteFile]
lea ecx, [ebp - 0x4020]
mov eax, 1
mov dword [section..bss], eax
sub esp, 0x14
jmp 0x4010c3
Function at 0x402a60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
test eax, eax
je 0x402ad0
cmp byte [esi + eax - 1], 0xa
mov ebx, eax
je 0x402ac8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x4070c4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp], esi
mov dword [esp + 0xc], eax
mov eax, 1
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
xor eax, eax
jmp 0x402a8d
lea esp, [ebp - 8]
xor eax, eax
pop ebx
pop esi
pop ebp
ret
Function at 0x4034a0
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete dl
movzx edx, dl
inc edx
mov dword [esp], edx
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
Function at 0x431002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43100c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43101e
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x401000
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x4e0214]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp - 0x802]
push ecx
mov word [ebp - 0x804], ax
call fcn.0047c5e0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x804]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.x86
lea ecx, [ebp - 0x804]
push 0x400
push ecx
call fcn.00479106
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
lea edx, [ebp - 0x804]
push edx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x401091
push 0
lea eax, [ebp - 0x804]
push eax
call edi
push str.cache
lea ecx, [ebp - 0x804]
push 0x400
push ecx
call fcn.00479106
add esp, 0xc
lea edx, [ebp - 0x804]
push edx
call esi
test eax, eax
jne 0x4010c1
push eax
lea eax, [ebp - 0x804]
push eax
call edi
push str._v2tov3.log
lea ecx, [ebp - 0x804]
push 0x400
push ecx
call fcn.00479106
lea edx, [ebp - 0x804]
push 0x4cf3cc
push edx
call fcn.00479239
add esp, 0x14
push 0x4e492c
mov dword [0x4e4928], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 0x4e4928
pop esi
call fcn.004790f7
mov esp, ebp
pop ebp
ret
Function at 0x401150
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x464
mov eax, dword [0x4e0214]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x3f
lea eax, [ebp - 0x47]
push 0
push eax
mov byte [ebp - 0x48], 0
call fcn.0047c5e0
xor eax, eax
add esp, 0xc
lea edx, [ebp - 0x458]
xor ecx, ecx
push edx
mov word [ebp - 0x458], cx
mov dword [ebp - 0x456], eax
mov dword [ebp - 0x452], eax
mov dword [ebp - 0x44e], eax
mov word [ebp - 0x44a], ax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x44a]
movzx ecx, word [ebp - 0x44c]
movzx edx, word [ebp - 0x44e]
push eax
movzx eax, word [ebp - 0x450]
push ecx
movzx ecx, word [ebp - 0x452]
push edx
movzx edx, word [ebp - 0x456]
push eax
movzx eax, word [ebp - 0x458]
push ecx
push edx
push eax
push str._02hd_02hd_02hd__02hd_02hd_02hd__02hd:
lea ecx, [ebp - 0x48]
push 0x3f
push ecx
call fcn.004793d1
push 0x3ff
lea edx, [ebp - 0x447]
push 0
push edx
mov byte [ebp - 0x448], 0
call fcn.0047c5e0
mov ecx, dword [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x448]
push 0x400
push edx
call fcn.0047be73
mov edi, eax
add esp, 0x48
test edi, edi
jle 0x4012c7
lea eax, [esi + 4]
push eax
mov dword [ebp - 0x45c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi]
test edx, edx
je 0x4012ba
lea eax, [ebp - 0x48]
lea ecx, [eax + 1]
mov dword [ebp - 0x460], ecx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401255
sub eax, dword [ebp - 0x460]
push edx
push eax
lea edx, [ebp - 0x48]
push 1
push edx
call fcn.004795f3
add esp, 0x10
cmp dword [ebp + 8], 1
jne 0x40128c
mov eax, dword [esi]
push eax
push 7
push 1
push str._ERROR_
call fcn.004795f3
add esp, 0x10
mov ecx, dword [esi]
push ecx
push edi
lea edx, [ebp - 0x448]
push 1
push edx
call fcn.004795f3
mov eax, dword [esi]
push eax
push 2
push 1
push 0x4cf404
call fcn.004795f3
mov ecx, dword [esi]
push ecx
call fcn.004797f7
add esp, 0x24
mov edx, dword [ebp - 0x45c]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004790f7
mov esp, ebp
pop ebp
ret

Function at 0x4022c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
cmp dword [eax + 0x14], 8
push esi
jb 0x4022cb
mov ecx, dword [eax]
jmp 0x4022cd
mov ecx, eax
mov edx, dword [eax + 0x10]
lea edx, [ecx + edx*2]
mov eax, 0x811c9dc5
cmp ecx, edx
je 0x4022f2
lea esp, [esp]
movzx esi, word [ecx]
imul eax, eax, 0x1000193
add ecx, 2
xor eax, esi
cmp ecx, edx
jne 0x4022e0
and eax, 0x7fffffff
push 0x1f31d
push eax
call fcn.0047a007
imul eax, eax, 0xb14
imul edx, edx, 0x41a7
add esp, 8
sub edx, eax
mov eax, edx
jns 0x40231c
add eax, 0x7fffffff
pop esi
ret