joyce8/EMBER2024-capa huggingface dataset:
Function at 0x472740
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4af633
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.004a0a81
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.004a61f4
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004a7846
test eax, eax
je 0x47285c
mov ecx, dword [esp + 0x3c]
call fcn.004a6221
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 0x472820
push edi
mov ecx, esi
call fcn.004a37e0
mov ecx, esi
call fcn.004729c0
cmp dword [esp + 0x38], 1
jne 0x472855
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.004a394a
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 0x475280
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4752b3
push esi
call fcn.00478370
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4752ac
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 0x475339
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x475322
mov eax, dword [esi + 8]
test eax, eax
je 0x4752d7
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 0x47531e
cmp eax, 2
je 0x475322
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4752ca
cmp eax, 3
je 0x4752fd
cmp eax, 1
jne 0x4752ca
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 0x4752ca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4752ca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00475360
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x475348
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00475360
add esp, 4
pop esi
ret
Function at 0x4835b0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4835fa
push eax
mov eax, dword [esi + 8]
mov dword [esi + 0x18], 0
push eax
jmp 0x483629
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x18], 1
sub edx, ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esi + 8]
push eax
mov dword [esi + 0x10], eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
cmp eax, 1
jne 0x48366b
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esi + 8]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 8]
pop esi
add esp, 0x10
ret 4
Function at 0x4a1877
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4a18af
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.0049f904
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0049f8dc
jmp 0x4a18bb
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4a2f69
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 0x4a2fab
call fcn.004a8d53
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4a2fab
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4a2fa2
xor eax, eax
jmp 0x4a2fb3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004a2fb9
pop edi
pop esi
pop ebx
ret 4

Function at 0x4a9283
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 0x4a92b1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a92cf
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004a91e9
jmp 0x4a92cf
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4a92cf
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004a91e9
test edi, edi
mov eax, edi
jne 0x4a92b9
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x404cb0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512d2e
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x755f7c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], 0
call fcn.00402800
mov ecx, edi
call fcn.00402630
mov ecx, edi
call fcn.004049b0
mov ebx, dword [0x5195f4]
push ecx
mov esi, esp
push 7
push 0x51a678
call ebx
add esp, 8
mov dword [esi], eax
mov ecx, dword [edi + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.00406a50
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 1
call dword [0x519638]
push 0xffffffffffffffff
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 1
push 0x51a670
push eax
call dword [0x519614]
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call dword [0x519624]
lea ecx, [ebp - 0x14]
call dword [0x519680]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call dword [0x519680]
cmp byte [edi + 8], 0
je 0x404d82
push 0x2e
push 0x51a638
call ebx
add esp, 8
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
jmp 0x404d95
push 0x3a
push 0x51a6d0
call ebx
add esp, 8
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
mov esi, dword [0x51961c]
lea ecx, [ebp - 0x14]
call esi
lea ecx, [ebp - 0x10]
mov edi, eax
call esi
push eax
push edi
push 0x80000002
call dword [0x519e84]
lea ecx, [ebp - 0x14]
call dword [0x519680]
lea ecx, [ebp - 0x10]
call dword [0x519680]
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 0x40dc10
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5146f7
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x755f7c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 1
push 0x78
call dword [0x519e00]
call fcn.00406c40
push ecx
mov esi, esp
mov dword [ebx + 0x38], eax
push 4
push 0x51a57c
call dword [0x5195f4]
add esp, 8
mov dword [esi], eax
mov ecx, dword [ebx + 0x38]
lea eax, [ebp - 0x10]
push eax
call fcn.00406a50
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call dword [0x51979c]
push 0x18
mov dword [ebx + 0x24], 2
mov dword [ebx + 0x20], 0
mov byte [ebx + 0x1c], 0
call fcn.00510641
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov edi, dword [0x519434]
mov ecx, esi
push 0
mov byte [ebp - 4], 1
call edi
mov dword [esi], 0x51d15c
push 0x18
mov byte [ebp - 4], 0
mov dword [ebx + 0x34], esi
mov dword [ebx + 0x20], 4
call fcn.00510641
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
push 0
mov ecx, esi
mov byte [ebp - 4], 2
call edi
mov dword [esi], 0x51d15c
mov ecx, dword [ebx + 0x18]
mov dword [ebx + 0x30], esi
push 1
mov byte [ebp - 4], 0
mov ecx, dword [ecx + 0x24]
call dword [0x5197b0]
mov eax, dword [ebx + 0x18]
mov edi, dword [0x51952c]
push 0
push 0x51c68c
push ebx
push 0x51c680
push dword [eax + 0x20]
lea eax, [ebp - 0x14]
push eax
call edi
mov esi, dword [0x519560]
lea ecx, [ebp - 0x14]
add esp, 0x18
call esi
mov eax, dword [ebx + 0x18]
push 0
push 0x51da5c
push ebx
push 0x51c680
push dword [eax + 0x24]
lea eax, [ebp - 0x14]
push eax
call edi
add esp, 0x18
lea ecx, [ebp - 0x14]
call esi
mov eax, dword [ebx + 0x18]
push 0
push 0x51da70
push ebx
push 0x51da88
push dword [eax + 0x40]
lea eax, [ebp - 0x14]
push eax
call edi
add esp, 0x18
lea ecx, [ebp - 0x14]
call esi
push 0
push 0x51da9c
push ebx
push 0x51dab0
push dword [ebx + 0x34]
lea eax, [ebp - 0x14]
push eax
call edi
add esp, 0x18
lea ecx, [ebp - 0x14]
call esi
lea ecx, [ebp - 0x10]
call dword [0x519680]
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 0x40f370
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514a89
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x755f7c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 0x18]
push 0x64
mov ecx, dword [ecx + 0x40]
call dword [0x519d80]
push 4
push 0x51db90
call dword [0x5195f4]
add esp, 8
mov dword [ebp - 0x10], eax
mov ecx, dword [edi + 0x18]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], 0
mov ecx, dword [ecx + 0x3c]
call dword [0x519dac]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call dword [0x519680]
mov ecx, dword [edi + 0x34]
call dword [0x519428]
mov ecx, dword [edi + 0x30]
call dword [0x519428]
push edi
mov ecx, edi
call fcn.00428d30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x41d970
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516b07
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x755f7c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 1
mov dword [esi + 0x3c], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x54], 0
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x94]
mov dword [ebp - 4], 0
mov dword [esi], 0x52f708
mov byte [esi + 0x80], 0
mov dword [esi + 0x84], eax
mov byte [esi + 0x90], 0
call dword [0x51963c]
push 0
push 1
lea ecx, [esi + 0x98]
mov byte [ebp - 4], 1
call dword [0x519388]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x430260
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x43027e
cmp dword [esi + 0x48], 0
je 0x43027e
push 2
push 3
push esi
call fcn.004445e0
add esp, 0xc
push dword [ebp + 0xc]
call fcn.0043bd00
add esp, 4
test esi, esi
je 0x43029e
cmp dword [esi + 0x48], 0
je 0x43029e
push 3
push esi
call fcn.00444620
add esp, 8
pop esi
pop ebp
ret
Function at 0x4526d0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov eax, 0x51eb851f
imul ecx
push ebx
sar edx, 5
push esi
mov eax, edx
xor esi, esi
push edi
mov edi, dword [ebp + 8]
shr eax, 0x1f
add eax, edx
mov ebx, dword [edi]
cmp eax, 2
je 0x45270c
push 0x6fa744
push ebx
call fcn.00439b10
add esp, 8
lea eax, [esi + 0x11]
pop edi
pop esi
pop ebx
pop ebp
ret
cmp ecx, 0xc8
je 0x452723
push ecx
push 0x6fa760
push ebx
call fcn.00439bb0
add esp, 0xc
mov eax, dword [ebp + 0x10]
cmp eax, 0x13
jne 0x45273b
push edi
call fcn.00452470
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x14
jne 0x452750
push edi
call fcn.00451560
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x15
jne 0x452765
push edi
call fcn.00452450
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x16
jne 0x452775
push edi
call fcn.004525b0
mov esi, eax
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
Function at 0x4b1700
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x74d634]
mov edi, eax
add esp, 4
test edi, edi
jne 0x4b172d
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x4b1774
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call eax
mov eax, dword [edi + 8]
add eax, dword [esi + 0xc]
push dword [edi + 4]
mov dword [ebp - 4], eax
push eax
mov eax, dword [esi + 8]
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov dword [ebp + 0x10], ebx
jmp 0x4b177a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [edi + 4]
mov eax, dword [esi]
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [ebp + 0x10]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x4b17db
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], eax
nop word [eax + eax]
movzx eax, byte [ebx]
xor al, 0x36
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor al, 0x5c
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub dword [ebp + 0x10], 1
jne 0x4b17a0
mov ebx, dword [ebp - 8]
cmp ebx, dword [esi + 0x10]
jae 0x4b1807
mov eax, dword [esi + 4]
push 1
push 0x71f20f
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x71f210
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x4b17e0
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4c6580
Capabilities:
Encode data using base64

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
xor ebx, ebx
test esi, esi
jle 0x4c666c
push edi
mov edi, dword [esp + 0x14]
inc edi
nop word [eax + eax]
movzx edx, byte [edi - 1]
cmp esi, 3
jl 0x4c65fe
movzx ecx, byte [edi]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, ecx
mov ecx, edx
shr ecx, 0x12
and ecx, 0x3f
movzx ecx, byte [ecx + 0x722800]
mov byte [eax], cl
mov ecx, edx
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + 0x722800]
mov byte [eax + 1], cl
mov ecx, edx
shr ecx, 6
and ecx, 0x3f
and edx, 0x3f
movzx ecx, byte [ecx + 0x722800]
mov byte [eax + 2], cl
movzx ecx, byte [edx + 0x722800]
mov byte [eax + 3], cl
jmp 0x4c664f
shl edx, 0x10
cmp esi, 2
jne 0x4c660e
movzx ecx, byte [edi]
shl ecx, 8
or edx, ecx
mov ecx, edx
shr ecx, 0x12
and ecx, 0x3f
movzx ecx, byte [ecx + 0x722800]
mov byte [eax], cl
mov ecx, edx
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + 0x722800]
mov byte [eax + 1], cl
cmp esi, 1
jne 0x4c663b
lea ecx, [esi + 0x3c]
jmp 0x4c6648
shr edx, 6
and edx, 0x3f
movzx ecx, byte [edx + 0x722800]
mov byte [eax + 2], cl
mov byte [eax + 3], 0x3d
sub esi, 3
add eax, 4
add ebx, 4
add edi, 3
test esi, esi
jg 0x4c65a0
pop edi
mov byte [eax], 0
mov eax, ebx
pop esi
pop ebx
ret
mov byte [eax], bl
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4034a8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x463020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403540
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403520
xor eax, eax
push ebp
push 0x403519
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x40355c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403520
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x463020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x463020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4041f4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x465048], 0
je 0x404255
cmp word [0x46521c], 0xd7b2
jne 0x40421d
cmp dword [0x465224], 0
jbe 0x40421d
mov eax, 0x465218
call dword [0x465234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x463070
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40427c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x463030], 0
jne 0x404271
push 0
push 0x463068
push 0x463070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405ec8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405f2e
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004045e0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403060
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405f18
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405f35
lea eax, [ebp - 0x10]
call fcn.00404370
ret

Function at 0x40b2f4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b32d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404460
jmp 0x40b336
mov eax, ebx
mov edx, esi
call fcn.004043c4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b340
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b361
mov al, byte [esp]
jmp 0x40b363
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b9e8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b860
mov eax, dword [0x4645cc]
cmp byte [eax], 0
je 0x40ba64
mov eax, dword [0x4643d8]
call fcn.00402cfc
call fcn.00402864
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004089e8
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40baac
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40ba9a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x464388]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x465664]
call fcn.004053dc
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40c324
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c3fa
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404408
lea eax, [ebp - 8]
call fcn.00404880
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404830
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c3e4
mov eax, ebx
call fcn.004026fc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c3dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404830
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c3c7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c40c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c3c7
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c3e4
mov eax, dword [ebp - 0x10]
call fcn.0040271c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c401
lea eax, [ebp - 8]
call fcn.00404370
ret

Function at 0x40c8f0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c954
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004045e0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004084b8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c95b
lea eax, [ebp - 0xc]
call fcn.00404370
ret

Function at 0x41b4a4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x465884
cmp dword [edi], 0
jne 0x41b520
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x465880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4633f0
mov ecx, 2
call fcn.004028f8
mov edx, 0x41b47c
lea eax, [esi + 5]
call fcn.0041b49c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041b49c
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41b4f5
mov dword [0x465880], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41c73c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41c742
ret