joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4373e0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.00431ac0
test eax, eax
je 0x4374cf
mov ecx, edi
call fcn.00431ac0
mov ecx, eax
call fcn.0042f080
test eax, eax
jne 0x4374cf
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4374cf
mov eax, dword [0x4a1ef8]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x437442
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.00431ac0
mov ecx, eax
call fcn.0042f2b0
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x4374cf
cmp ebx, eax
jne 0x4374cf
cmp dword [esp + 0x10], eax
jne 0x4374b5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x43a130
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x471188
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 0x43a169
inc eax
mov dword [esi + 0x10], eax
jmp 0x43a27c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43a17d
mov eax, 0xffffffc7
jmp 0x43a27e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43a18e
cmp dword [esi + 8], eax
jne 0x43a17d
cmp dword [esi + 8], eax
jne 0x43a1a7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x43a1a7
mov eax, 0xffffffc7
jmp 0x43a27e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43a1bb
push eax
mov ecx, ebx
call fcn.00439960
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.0040a5b0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43a1ec
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.0040a5d0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.004390d0
test eax, eax
mov dword [esp + 0x38], eax
je 0x43a21f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x479680
call fcn.0040a7b0
mov eax, dword [esp + 0x38]
jmp 0x43a27e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00439f90
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x43a263
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00439fb0
mov esi, eax
test esi, esi
jne 0x43a293
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00439f90
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x43a235
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x479680
call fcn.0040a7b0
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], 0x479680
call fcn.0040a7b0
mov eax, esi
jmp 0x43a27e

Function at 0x43ece0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x43ed40
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x43ed40
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x43ed40
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x43ed40
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 0x43ed80
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 0x4444a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x471a78
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.0046a33a
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00443e00
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.0046a268
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.00466b29
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.00466b29
push 1
push 0
push 0
mov ecx, esi
call fcn.00466ad1
push 1
push 0
push 1
mov ecx, esi
call fcn.00466ad1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046a3ac
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x444620
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x471a98
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.0046a33a
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00443e00
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.0046a268
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 0x4446e4
cmp dword [esp + 0x40], 1
jne 0x4446e2
cmp ecx, eax
jge 0x4446e4
mov eax, ecx
cmp eax, 0xc8
jge 0x4446f0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004444a0
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.0046a3ac
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x444ef0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x471b43
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.00464f49
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_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.0046a5e2
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0046bafe
test eax, eax
je 0x44500c
mov ecx, dword [esp + 0x3c]
call fcn.0046a60f
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 0x444fd0
push edi
mov ecx, esi
call fcn.00467c7c
mov ecx, esi
call fcn.004451b0
cmp dword [esp + 0x38], 1
jne 0x445005
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.00467db7
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 0x447210
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x447243
push esi
call fcn.0044a360
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44723c
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 0x4472c9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4472b2
mov eax, dword [esi + 8]
test eax, eax
je 0x447267
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 0x4472ae
cmp eax, 2
je 0x4472b2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44725a
cmp eax, 3
je 0x44728d
cmp eax, 1
jne 0x44725a
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 0x44725a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44725a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004472f0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4472d8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004472f0
add esp, 4
pop esi
ret

Function at 0x465d3f
Capabilities:
Get graphical window text

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

Function at 0x467431
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 0x467473
call fcn.0046cee4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x467473
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46746a
xor eax, eax
jmp 0x46747b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00467481
pop edi
pop esi
pop ebx
ret 4

Function at 0x46d414
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 0x46d442
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46d460
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046d37a
jmp 0x46d460
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46d460
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046d37a
test edi, edi
mov eax, edi
jne 0x46d44a
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x5198cb
Capabilities:
Check for trap flag exception

Disassembly:
push 0x10
push 0x51d914
call fcn.0051c084
xor edi, edi
mov dword [ebp - 0x1c], edi
mov esi, dword [0x51e890]
add esi, 0x94
cmp dword [esi], edi
je 0x5198fa
lea eax, [ebp - 0x1c]
push eax
push edi
call dword [fcn.0051e884]
push eax
call dword [esi]
mov dword [ebp - 0x20], 1
cmp dword [ebp - 0x1c], edi
jne 0x519940
mov dword [ebp - 4], edi
jmp 0x519911
pushfd
or dword [esp], 0x100
popfd
rdtsc
nop
jmp 0x519925
jmp 0x51993a
or dword [ebp - 4], 0xffffffff
jmp 0x519943
mov dword [ebp - 0x20], edi
mov eax, dword [ebp - 0x20]
call fcn.0051c0bf
ret
jmp 0x5198cb
Function at 0x51c01d
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
jmp 0x51c039
pushal
jmp 0x51c055
bswap cx
jmp 0x588144
mov edx, ecx
jmp 0x58816d
mov ch, 0x8e
bswap ax
popal
push ebp
push sp
push word [esp + 4]
pop word [esp]
mov word [esp], bp
pushfd
lea esp, [esp + 2]
jmp 0x5881d8
pushal
lea ecx, [edi - 0x52]
pushfd
not eax
bswap ax
lea esp, [esp + 4]
jmp 0x588229
lea esp, [esp + 8]
lea esp, [esp + 4]
pushal
mov dx, 0xb65
jmp 0x588821
push dx
jmp 0x5882b5
popal
push si
lea esp, [esp + 1]
mov byte [esp], bh
lea esp, [esp]
mov byte [esp], al
jmp 0x58820c
mov word [esp], sp
pushal
lea esp, [esp + 3]
jmp 0x588613
mov eax, dword [ebp - 8]
jmp 0x588847
lea esp, [esp + 0x20]
push 0x51c0d8
mov eax, dword fs:[0]
push esp
pushfd
mov byte [esp], bl
mov dword [esp], esp
mov word [esp + 2], bp
pop word [esp + 1]
mov word [esp + 3], dx
mov dword [esp], ebx
push dword [esp]
mov dword [esp + 2], edi
lea esp, [esp + 2]
mov dword [esp + 4], eax
push dx
mov byte [esp], cl
pushfd
mov byte [esp + 1], ah
push dword [esp + 4]
pop dword [esp]
push dword [esp + 2]
pushal
pop word [esp + 0x12]
push dword [esp + 0xb]
lea esp, [esp + 0x30]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], ebp
lea ebp, [esp + 0x10]
sub esp, eax
pushal
push word [esp + 0x16]
mov word [esp + 0xf], si
push word [esp + 0x11]
mov word [esp], di
pop dword [esp + 1]
pushal
lea esp, [esp + 5]
pop word [esp + 7]
mov word [esp + 0x20], di
lea esp, [esp + 1]
mov dword [esp + 0x34], ebx
pushfd
lea esp, [esp + 2]
pushal
push word [esp + 0x12]
pushfd
push cx
lea esp, [esp + 1]
mov dword [esp + 0xa], edx
pushal
mov dword [esp + 9], esi
lea esp, [esp + 1]
lea esp, [esp + 0x7c]
push di
push word [esp]
mov byte [esp + 2], bl
push word [esp]
mov byte [esp + 4], dl
mov word [esp + 3], dx
push dword [esp + 1]
pop dword [esp]
mov dword [esp], esi
push sp
mov dword [esp + 4], esi
pushal
mov word [esp + 0xc], sp
mov dword [esp + 0x16], eax
mov dword [esp + 0x10], ebx
pop word [esp + 6]
pop dword [esp + 0x12]
push ax
push word [esp]
lea esp, [esp + 0x18]
mov word [esp], bx
lea esp, [esp + 2]
lea esp, [esp + 8]
pushfd
mov word [esp], bp
push dword [esp]
mov dword [esp + 2], eax
pop dword [esp]
push word [esp + 2]
push dword [esp]
mov dword [esp + 2], edx
mov word [esp + 3], dx
mov dword [esp], edi
lea esp, [esp + 2]
mov dword [esp + 4], edi
push ecx
lea esp, [esp + 1]
push ebp
mov byte [esp + 5], ah
push dword [esp + 3]
pushal
mov dword [esp + 0x11], ecx
push dword [esp + 0xb]
mov dword [esp + 0x17], ebx
pop word [esp + 0x28]
lea esp, [esp + 1]
lea esp, [esp + 0x30]
jmp 0x5885f5
mov dx, word [esp]
mov edx, dword [esp]
push sp
lea esp, [esp + 2]
jmp 0x58887f
mov dword [ebp - 0x18], esp
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
ret
popal
push cx
push word [esp]
push sp
mov word [esp + 1], dx
lea esp, [esp + 2]
mov byte [esp + 1], dh
mov byte [esp], cl
pushal
mov word [esp + 0x1b], dx
jmp 0x5889a4
pop dword [esp + 0x11]
mov word [esp + 2], di
push dword [esp + 0x21]
lea esp, [esp + 2]
lea esp, [esp + 0x24]
jmp 0x5881af
push word [esp + 6]
jmp 0x588934
Function at 0x58a648
Capabilities:
Parse pe header

Disassembly:
jmp 0x51c445
pushal
jmp 0x51c461
mov ch, ah
jmp 0x51c47d
push ebp
jmp 0x51c499
mov bx, 0x3e25
jmp 0x51c4b5
lea esp, [esp + 4]
jmp 0x51c4d1
popal
jmp 0x51c4ed
pushal
jmp 0x51c509
lea esp, [esp + 0xe]
jmp 0x51c525
lea esp, [esp + 7]
jmp 0x51c541
push dword [esp + 2]
jmp 0x51c55d
pop dword [esp]
jmp 0x51c579
pop dword [esp]
jmp 0x51c595
lea esp, [esp + 3]
jmp 0x51c5b1
lea esp, [esp + 4]
jmp 0x51c5cd
lea esp, [esp + 4]
jmp 0x58a769
jmp 0x51c605
pushal
jmp 0x51c621
not ebx
jmp 0x51c63d
mov cx, di
jmp 0x51c659
mov bx, 0x104a
jmp 0x51c675
popal
jmp 0x51c691
pushal
jmp 0x51c6ad
mov dword [esp + 0x1a], ebp
jmp 0x51c6c9
push word [esp + 0xf]
jmp 0x51c6e5
pushal
jmp 0x51c701
pushfd
jmp 0x51c71d
push word [esp + 0x20]
jmp 0x51c739
push dword [esp + 0x24]
jmp 0x58a63f
mov word [esp + 0x39], si
lea esp, [esp + 0x4c]
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x58a69c
xor eax, eax
pop ebp
ret
xor edx, edx
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jmp 0x58a795
mov eax, dword [ecx + 0x3c]
push esi
mov word [esp + 1], ax
clc
mov byte [esp + 2], al
mov word [esp], bx
mov dword [esp], esi
clc
cmc
lea esp, [esp + 2]
mov word [esp], si
lea esp, [esp + 2]
add eax, ecx
pushal
mov word [esp + 0x1b], cx
pushal
push dword [esp + 0x3b]
pop dword [esp + 0x3a]
push word [esp + 0x2b]
push si
mov byte [esp + 0x41], cl
lea esp, [esp + 4]
push ebx
lea esp, [esp + 0x44]
cmp dword [eax], 0x4550
jne 0x58a65b
jmp 0x58a676
pop dword [esp + 0xa]
jmp 0x58a89c
pushal
mov dl, 0x96
lea ecx, [esi + 0x5d316913]
mov ah, 0x2d
popal
pushal
push word [esp + 3]
jmp 0x58a74c
sete dl
mov eax, edx
pop ebp
ret
lea esp, [esp + 0x18]
mov word [esp + 4], dx
push word [esp + 5]
lea esp, [esp + 2]
lea esp, [esp + 8]
jmp 0x51c5e9
pop dword [esp + 3]
push esi
pop dword [esp + 2]
push dword [esp + 0xd]
push word [esp + 0x1d]
jmp 0x58a7c6
Function at 0x403718
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x49d020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4037b0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403790
xor eax, eax
push ebp
push 0x403789
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 0x4037cc
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 0x403790
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x49d020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x49d020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4045cc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4a104c], 0
je 0x40462d
cmp word [0x4a1220], 0xd7b2
jne 0x4045f5
cmp dword [0x4a1228], 0
jbe 0x4045f5
mov eax, 0x4a121c
call dword [0x4a1238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
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 0x404654
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x49d02c], 0
jne 0x404649
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404784
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x49d030], 0
je 0x4047aa
mov edx, esi
mov eax, ebx
call dword [0x49d030]
jmp 0x4047b9
mov eax, 8
call fcn.00402ce8
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x4a104d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x40474c
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x405fa8
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4061d8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40602b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4061d8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40602b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4061f4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4060b4
xor eax, eax
push ebp
push 0x4060ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405de4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x406092
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406214
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x406092
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4060b4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4061ce
cmp byte [ebp - 0xd], 0
jne 0x4060fb
cmp byte [ebp - 0x12], 0
je 0x4061ce
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x406114
dec ebx
cmp byte [ebx], 0x2e
je 0x406123
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x406113
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4061ce
inc ebx
cmp byte [ebp - 0x12], 0
je 0x406160
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4061ce
cmp byte [ebp - 0xd], 0
je 0x4061ce
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4061ce
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret