joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ada44
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x21c], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x5adbbb
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x5adb94
push dword fs:[edx]
mov dword fs:[edx], esp
mov word [ebp - 0x216], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x216]
push eax
lea eax, [ebp - 0x21c]
mov edx, esi
call fcn.0040a884
lea eax, [ebp - 0x21c]
mov edx, 0x5adbd4
call fcn.0040aa70
mov eax, dword [ebp - 0x21c]
call fcn.0040a864
push eax
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x5adb03
lea eax, [ebp - 0x216]
call fcn.0040a350
lea edx, [ebp - 0x216]
mov ecx, ebx
xchg ecx, eax
call fcn.00409ff0
jmp 0x5adb0a
mov eax, ebx
call fcn.00409e58
cmp si, 0x61
jae 0x5adb2c
lea edx, [ebp - 0x220]
mov eax, dword [ebx]
call fcn.0042205c
mov edx, dword [ebp - 0x220]
mov eax, ebx
call fcn.0040a248
jmp 0x5adb46
lea edx, [ebp - 0x224]
mov eax, dword [ebx]
call fcn.00422088
mov edx, dword [ebp - 0x224]
mov eax, ebx
call fcn.0040a248
lea eax, [ebp - 0x228]
push eax
mov eax, dword [ebx]
mov dword [ebp - 0x230], eax
mov byte [ebp - 0x22c], 0x11
lea edx, [ebp - 0x230]
xor ecx, ecx
mov eax, 0x5adbe8
call fcn.00423f40
mov edx, dword [ebp - 0x228]
mov eax, ebx
call fcn.0040a248
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5adb9b
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
pop eax
jmp eax

Function at 0x5f65b8
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffdc
mov ebx, eax
mov eax, ebx
call fcn.00409e58
mov dword [esp], 0xf
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x5f65e9
lea edx, [esp + 4]
mov eax, ebx
mov ecx, dword [esp]
call fcn.00409ff0
add esp, 0x24
pop ebx
ret

Function at 0x60ae44
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
test dl, dl
je 0x60ae57
add esp, 0xfffffff0
call fcn.004086c0
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x60aed2
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.004081a8
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 0x18], 0
lea edx, [ebp - 4]
mov eax, esi
call fcn.0060b0a4
mov edx, dword [ebp - 4]
lea eax, [esi + 0xc]
call fcn.0040a248
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0x10]
mov edx, 0x60af04
call fcn.0040aac8
mov ecx, esi
mov dl, 1
mov eax, dword [0x60a344]
call fcn.0060b710
mov dword [esi + 0x30], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60aed9
lea eax, [ebp - 4]
call fcn.00409e58
pop eax
jmp eax
Function at 0x60b868
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x60b870
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x60ba27
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + 0xc]
lea eax, [ebp - 4]
mov edx, 0x60ba40
call fcn.0040aac8
push esi
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
movzx ecx, word [ebx + 0x30]
mov eax, dword [ebx + 0x1c]
xor edx, edx
call fcn.00609738
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0x11
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x60ba54
call fcn.005b74bc
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x60b8eb
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x60b92c
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
movzx ecx, word [ebx + 0x30]
mov eax, dword [ebx + 0xc]
xor edx, edx
call fcn.00609738
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x60babc
call fcn.005b74bc
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.0040aa70
mov eax, esi
mov edx, 0x60bae8
call fcn.0040aa70
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x60b944
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x60b9b2
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x60bafc
call fcn.005b74bc
mov edx, dword [ebp - 0x2c]
mov eax, esi
call fcn.0040aa70
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x60b97b
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x60b9a6
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x60bb2c
call fcn.005b74bc
mov edx, dword [ebp - 0x30]
mov eax, esi
call fcn.0040aa70
mov eax, esi
mov edx, 0x60bae8
call fcn.0040aa70
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x60b9be
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x60b9e9
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x60bb58
call fcn.005b74bc
mov edx, dword [ebp - 0x34]
mov eax, esi
call fcn.0040aa70
mov eax, esi
mov edx, 0x60bae8
call fcn.0040aa70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60ba2e
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.00409eb8
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00409eb8
lea eax, [ebp - 4]
call fcn.00409e58
pop eax
jmp eax
Function at 0x6370d0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
xor ebx, ebx
fisttp dword [ecx + 0x5d89ec5d]
call 0xdb674a6f

Function at 0x638fd4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda8
xor edx, edx
mov dword [ebp - 0x250], edx
mov dword [ebp - 0x258], edx
mov dword [ebp - 0x254], edx
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x244], edx
mov dword [ebp - 0x248], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409f4c
xor eax, eax
push ebp
push 0x639162
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
mov eax, 2
call fcn.00637f8c
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x23c], 0x22c
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 0x10]
call fcn.00637fac
mov dword [ebp - 0xc], eax
jmp 0x639127
lea eax, [ebp - 0x248]
lea edx, [ebp - 0x218]
mov ecx, 0x104
call fcn.0040a918
mov eax, dword [ebp - 0x248]
lea edx, [ebp - 0x244]
call fcn.0042383c
mov eax, dword [ebp - 0x244]
lea edx, [ebp - 0x240]
call fcn.00421dc8
mov eax, dword [ebp - 0x240]
push eax
lea edx, [ebp - 0x24c]
mov eax, dword [ebp - 4]
call fcn.00421dc8
mov edx, dword [ebp - 0x24c]
pop eax
call fcn.0040ac00
je 0x6390fb
lea eax, [ebp - 0x254]
lea edx, [ebp - 0x218]
mov ecx, 0x104
call fcn.0040a918
mov eax, dword [ebp - 0x254]
lea edx, [ebp - 0x250]
call fcn.00421dc8
mov eax, dword [ebp - 0x250]
push eax
lea edx, [ebp - 0x258]
mov eax, dword [ebp - 4]
call fcn.00421dc8
mov edx, dword [ebp - 0x258]
pop eax
call fcn.0040ac00
jne 0x639116
push 0
mov eax, dword [ebp - 0x234]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov dword [ebp - 8], eax
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 0x10]
call fcn.00637fcc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x639056
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x639169
lea eax, [ebp - 0x258]
mov edx, 7
call fcn.00409eb8
lea eax, [ebp - 4]
call fcn.00409e58
pop eax
jmp eax

Function at 0x639170
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00409e58
xor eax, eax
push ebp
push 0x6391f4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040a864
push eax
call sub.kernel32.dll_GetEnvironmentVariableW
test eax, eax
jns 0x6391b0
call fcn.00407f48
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x6391ea
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.0040a9f0
mov eax, dword [ebp - 0xc]
test eax, eax
jns 0x6391d0
call fcn.00407f48
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040a864
push eax
mov eax, dword [ebp - 4]
call fcn.0040a864
push eax
call sub.kernel32.dll_GetEnvironmentVariableW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x639206
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x639404
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
mov dword [ebp - 4], eax
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x639440
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x208]
mov ecx, pe_nt_image_headers32
call fcn.0040a918
jmp 0x639448
mov eax, dword [ebp - 4]
call fcn.00409e58
mov esp, ebp
pop ebp
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x1088c0b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1088c200
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1088c0d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1088c0c2
add dl, dl
jne 0x1088c0e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1088c134
xor eax, eax
add dl, dl
jne 0x1088c0ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1088c1d5
add dl, dl
jne 0x1088c0fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1088c108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1088c113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1088c11e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1088c12a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1088c0cd
mov eax, 1
add dl, dl
jne 0x1088c142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1088c14d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1088c139
sub eax, ebx
mov ebx, 1
jne 0x1088c180
mov ecx, 1
add dl, dl
jne 0x1088c166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1088c171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1088c15d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1088c0cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1088c197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1088c1a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1088c18e
cmp eax, 0x7d00
jae 0x1088c1c5
cmp eax, 0x500
jb 0x1088c1c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1088c0cd
cmp eax, 0x7f
ja 0x1088c1c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1088c0cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1088c1f6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1088c0cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x432001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x8682d12
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x3b1339b5
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x4f714f
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x3c
mov eax, dword [0x573080]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
push ebx
push ebp
movsx ebp, ax
mov ebx, ecx
shr eax, 0x10
and dword [edx], 0
push esi
cwde
push edi
mov edi, dword [ebx + 0x30]
mov dword [esp + 0x14], eax
jmp 0x4f71c7
mov esi, dword [edi]
lea ecx, [esp + 0x34]
xorps xmm0, xmm0
movups xmmword [esp + 0x34], xmm0
push ecx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
push dword [esp + 0x14]
lea eax, [esp + 0x38]
push ebp
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4f71c4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
test al, al
je 0x4f71c4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x88]
test al, al
jne 0x4f71f1
mov edi, dword [edi + 8]
test edi, edi
jne 0x4f717e
mov ecx, dword [ebx + 0x34]
test ecx, ecx
je 0x4f71da
mov eax, dword [ecx]
call dword [eax + 0x5c]
and dword [ebx + 0x34], edi
mov ecx, dword [esp + 0x44]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004d5b75
add esp, 0x3c
ret 0x10
mov ecx, dword [ebx + 0x34]
cmp esi, ecx
je 0x4f7204
test ecx, ecx
je 0x4f7201
mov eax, dword [ecx]
call dword [eax + 0x5c]
mov dword [ebx + 0x34], esi
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
mov dword [esp + 0x18], ebp
and ax, cx
lea edx, [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
xor cx, cx
cmp cx, ax
mov ecx, dword [ebx + 0x34]
push edx
sbb eax, eax
neg eax
mov dword [esp + 0x24], eax
mov eax, dword [ecx]
call dword [eax + 0x58]
xor eax, eax
lea edi, [esp + 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 0x10
mov dword [esp + 0x2c], 2
call dword [sym.imp.USER32.dll_TrackMouseEvent]
jmp 0x4f71da

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x749c3988
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
mov ecx, 0x614d27ea
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x4076d4
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0040a3bc
test esi, esi
jne 0x40770a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.0040a554
jmp 0x407728
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00407618
mov edi, eax
test esi, esi
je 0x407728
cmp dword [ebx], 0
je 0x407728
dec esi
jmp 0x407711
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.004094c4
mov byte [esp], al
cmp byte [esp], 0
jne 0x40918d
test edi, edi
je 0x40918d
mov byte [esp + 1], 0
test ebp, ebp
jle 0x4090cd
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x4090a8
cmp edi, 0xffffffff
je 0x409069
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x409069
mov byte [esp], 0
jmp 0x40918d
cmp dword [esi], 1
jg 0x4090a8
cmp dword [esi], 0
jne 0x40909a
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x40909a
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x40918d
lea eax, [esp + 0xc]
call fcn.00408cb8
dec ebp
test ebp, ebp
jg 0x40904e
cmp edi, 0xffffffff
je 0x4090cd
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4090cb
mov byte [esp], 0
jmp 0x40918d
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x409012
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4090cd
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00409208
mov edx, eax
mov ebx, dword [0x5ec8fc]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x409131
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x40912f
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x409131
xor edi, edi
cmp byte [esp], 0
je 0x409157
mov ebx, dword [esi]
test bl, 1
jne 0x40916d
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x409137
mov byte [esp + 1], 1
jmp 0x40916d
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x409157
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x4090e4
cmp byte [esp], 0
je 0x40918d
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x40a054
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x5ec05c], 0
je 0x40a0bb
cmp word [0x5ec348], 0xd7b2
jne 0x40a07d
cmp dword [0x5ec350], 0
jbe 0x40a07d
mov eax, 0x5ec344
call dword [0x5ec360]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
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
mov eax, 0x40a0e8
call fcn.0040abd4
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x5e6036], 0
jne 0x40a0d7
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40a27c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x5e6038], 0
je 0x40a2a7
mov edx, edi
mov eax, esi
call dword [0x5e6038]
mov ebx, eax
jmp 0x40a2b8
mov eax, 8
call fcn.00406fcc
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x5ec05d], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x40a244
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateThread
mov esi, eax
test esi, esi
jne 0x40a2e8
mov eax, ebx
call fcn.00406fe8
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x40db38
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x40dc9f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040a3bc
cmp si, word [0x5e6a18]
jb 0x40dbd0
cmp si, word [0x5e6c18]
ja 0x40dbd0
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40dbd0
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x5e6a18]
jae 0x40dbaa
mov edi, ebx
dec edi
jmp 0x40dbcb
cmp si, word [ebx*8 + 0x5e6a18]
jbe 0x40dbba
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40dbcb
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x5e6a1c]
call fcn.0040da54
jmp 0x40dbd0
cmp edi, dword [ebp - 8]
jae 0x40db94
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40dc7f
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40dc7f
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040aebc
push dword [ebp - 0x160]
push 0x40dcbc
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040aebc
push dword [ebp - 0x164]
push 0x40dccc
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040aebc
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040b0f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dca6
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0040a41c
pop eax
jmp eax
Function at 0x40de54
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40df5a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x5eec18
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x5eec30]
jne 0x40dea0
mov eax, esi
mov edx, 0x5eec32
mov ecx, 0x55
call fcn.0040aebc
push 0x5eec18
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40df42
push 0x5eec18
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.0040a3bc
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40df0f
cmp byte [0x5eec14], 0
je 0x40ded4
mov edx, esi
mov eax, ebx
call fcn.0040dd38
jmp 0x40df0f
mov edx, esi
mov eax, ebx
call fcn.0040db38
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40df0f
cmp dword [esi], 0
je 0x40def8
mov eax, esi
mov edx, 0x40df74
call fcn.0040b014
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040db38
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040b014
push 0x5eec18
call sub.kernel32.dll_EnterCriticalSection
mov word [0x5eec30], bx
mov eax, dword [esi]
call fcn.0040ae20
mov ecx, eax
mov eax, 0x5eec32
mov edx, 0xaa
call fcn.0040d9b4
push 0x5eec18
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40df61
lea eax, [ebp - 4]
call fcn.0040a3bc
pop eax
jmp eax