joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000178a
Capabilities:
Get system information on windows

Disassembly:
push ebx
push edi
push esi
sub esp, 0x24
mov edi, dword [esp + 0x34]
test edi, edi
je 0x10001901
lea esi, [edi - 8]
mov ecx, dword [edi - 4]
mov eax, ecx
and eax, 0xfffffffc
mov edx, dword [0x1000bb24]
cmp eax, edx
jbe 0x10001836
test cl, 2
jne 0x10001857
or edx, 1
mov dword [0x1000bb24], edx
lea edx, [esi + eax]
mov ecx, dword [edi + eax - 4]
test byte [edi - 4], 1
jne 0x100017e6
mov edi, dword [esi]
add eax, edi
sub esi, edi
mov edi, dword [esi + 8]
mov ebx, dword [esi + 0xc]
mov dword [edi + 0xc], ebx
mov dword [ebx + 8], edi
and ecx, 0xfffffffc
cmp edx, dword [0x1000bb50]
je 0x100018c9
test byte [edx + ecx + 4], 1
mov dword [edx + 4], ecx
jne 0x1000180d
mov edi, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [edi + 0xc], edx
mov dword [edx + 8], edi
add eax, ecx
mov ecx, dword [0x1000bb60]
mov dword [esi + 0xc], 0x1000bb58
mov dword [esi + 8], ecx
mov dword [0x1000bb60], esi
mov dword [ecx + 0xc], esi
mov ecx, eax
or ecx, 1
mov dword [esi + 4], ecx
mov dword [esi + eax], eax
jmp 0x100018d9
or edx, 3
mov dword [0x1000bb24], edx
shr ecx, 3
mov eax, dword [ecx*4 + 0x1000bb20]
mov dword [edi], eax
mov dword [ecx*4 + 0x1000bb20], esi
jmp 0x10001901
mov edi, dword [esi]
dec dword [0x1000be74]
add eax, edi
sub dword [0x1000be88], eax
cmp dword [0x1000bec0], 0
jne 0x1000188f
mov eax, dword [0x1000bea4]
test eax, eax
jne 0x1000188a
mov ebx, esp
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebx + 4]
mov dword [0x1000bea4], eax
mov dword [0x1000bec0], eax
sub esi, edi
cmp dword [0x1000bec4], 0
jne 0x100018b9
mov eax, dword [0x1000bea8]
test eax, eax
jne 0x100018b4
mov edi, esp
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [edi + 0x1c]
mov dword [0x1000bea8], eax
mov dword [0x1000bec4], eax
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x10001901
add eax, ecx
mov ecx, eax
or ecx, 1
mov dword [esi + 4], ecx
mov dword [0x1000bb50], esi
cmp eax, 0x10000
jb 0x10001901
test byte [0x1000bb24], 2
je 0x100018ee
call fcn.10001dff
mov eax, dword [0x1000bb50]
mov eax, dword [eax + 4]
and eax, 0xfffffffc
cmp eax, dword [0x1000be68]
jae 0x10001908
add esp, 0x24
pop esi
pop edi
pop ebx
ret
mov ecx, dword [0x1000be6c]
add esp, 0x24
pop esi
pop edi
pop ebx
jmp 0x10001919
push ebp
push ebx
push edi
push esi
mov edi, dword [0x1000be80]
mov eax, dword [0x1000bb50]
mov ebp, dword [eax + 4]
and ebp, 0xfffffffc
mov eax, edi
sub eax, ecx
add eax, ebp
add eax, 0xffffffef
xor esi, esi
xor edx, edx
div edi
mov ebx, eax
dec ebx
imul ebx, edi
test ebx, ebx
jle 0x1000198e
xor esi, esi
xor ecx, ecx
call fcn.10001a0b
mov edi, eax
mov eax, dword [0x1000bb50]
add eax, ebp
cmp edi, eax
jne 0x1000198e
neg ebx
mov ecx, ebx
call fcn.10001a0b
xor esi, esi
xor ecx, ecx
call fcn.10001a0b
cmp eax, 0xffffffff
je 0x1000198e
sub edi, eax
je 0x1000198e
sub dword [0x1000be8c], edi
sub ebp, edi
or ebp, 1
mov eax, dword [0x1000bb50]
mov dword [eax + 4], ebp
xor esi, esi
inc esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10001995
Capabilities:
Get system information on windows

Disassembly:
push edi
push esi
sub esp, 0x24
mov esi, ecx
cmp dword [0x1000be9c], 0
jne 0x100019c4
mov eax, dword [0x1000bea4]
test eax, eax
jne 0x100019bf
mov edi, esp
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [edi + 4]
mov dword [0x1000bea4], eax
mov dword [0x1000be9c], eax
cmp dword [0x1000bea0], 0
jne 0x100019ec
mov eax, dword [0x1000bea8]
test eax, eax
jne 0x100019e7
mov edi, esp
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [edi + 0x1c]
mov dword [0x1000bea8], eax
mov dword [0x1000bea0], eax
push 4
push 0x103000
push esi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
xor ecx, ecx
cmp eax, 1
sbb ecx, ecx
or eax, ecx
add esp, 0x24
pop esi
pop edi
ret
Function at 0x10001dff
Capabilities:
Get system information on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [0x1000bb24]
test eax, eax
je 0x10001ef0
mov ecx, eax
and ecx, 0xfffffffd
mov dword [0x1000bb24], ecx
shr eax, 3
lea eax, [eax*4 + 0x1000bb20]
mov dword [esp + 4], eax
mov eax, 0x1000bb28
mov dword [esp], eax
mov ebx, dword [eax]
test ebx, ebx
je 0x10001ede
mov eax, dword [esp]
mov dword [eax], 0
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 8]
mov dword [esp + 8], eax
mov esi, ecx
and esi, 0xfffffffe
mov ebp, dword [ebx + esi + 4]
mov eax, esi
mov edi, ebx
test cl, 1
jne 0x10001e77
mov eax, dword [ebx]
mov edi, ebx
sub edi, eax
add eax, esi
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov dword [ecx + 0xc], edx
mov dword [edx + 8], ecx
add ebx, esi
and ebp, 0xfffffffc
cmp ebx, dword [0x1000bb50]
je 0x10001ec2
test byte [ebx + ebp + 4], 1
mov dword [ebx + 4], ebp
jne 0x10001e9c
add eax, ebp
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov dword [ecx + 0xc], edx
mov dword [edx + 8], ecx
mov ecx, dword [0x1000bb60]
mov dword [0x1000bb60], edi
mov dword [ecx + 0xc], edi
mov edx, eax
or edx, 1
mov dword [edi + 4], edx
mov dword [edi + 0xc], 0x1000bb58
mov dword [edi + 8], ecx
mov dword [edi + eax], eax
jmp 0x10001ed0
add eax, ebp
or eax, 1
mov dword [edi + 4], eax
mov dword [0x1000bb50], edi
mov eax, dword [esp + 8]
mov ebx, eax
test eax, eax
jne 0x10001e47
mov ecx, dword [esp]
lea eax, [ecx + 4]
cmp ecx, dword [esp + 4]
jne 0x10001e31
jmp 0x10001f6c
xor eax, eax
lea ecx, [eax + 0x1000bb58]
mov dword [ecx + 0xc], ecx
mov dword [ecx + 8], ecx
add eax, 8
cmp eax, 0x2f8
jne 0x10001ef2
mov dword [0x1000be6c], 0
mov dword [0x1000be78], 0x10000
mov dword [0x1000be70], 0x100000
mov dword [0x1000be68], 0x20000
or byte [0x1000be84], 1
mov dword [0x1000bb24], 0x48
mov dword [0x1000bb50], 0x1000bb58
mov eax, dword [0x1000bea4]
test eax, eax
jne 0x10001f67
lea esi, [esp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esi + 4]
mov dword [0x1000bea4], eax
mov dword [0x1000be80], eax
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10001fe2
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x10002032
push ebx
push edi
push esi
push eax
mov esi, ecx
mov edi, dword [esp + 0x18]
mov ebx, esp
push 0
push ebx
push edi
push dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
sete al
cmp dword [ebx], edi
setne cl
or cl, al
mov eax, ecx
xor al, 1
test cl, cl
jne 0x10002029
cmp byte [esp + 0x1c], 0
je 0x10002029
push dword [esi]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov al, 1
add esp, 4
pop esi
pop edi
pop ebx
ret 0xc
xor eax, eax
ret 0xc
Function at 0x10003ddc
Capabilities:
Read .ini file

Disassembly:
push ebp
push ebx
push edi
push esi
mov esi, ecx
mov ebx, dword [esp + 0x14]
mov word [ecx + 4], 0
xor ecx, ecx
mov edi, str.Walk
mov eax, 0x6dc190
push ecx
push edi
call eax
add esp, 8
mov dword [esi], eax
mov eax, 0x42c1a0
mov ecx, ebx
call eax
mov edx, str.._settings.ini
mov ecx, 0x200
mov ebx, 0x7fcbc8
mov eax, str.Bind
push edx
push ecx
push ebx
push 0x1000a4b4
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
sub esp, 0x28
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
movaps xmm0, xmmword [0x1000a190]
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov edi, 0x733458
mov dword [esp], edi
mov dword [esp + 0x24], 1
mov eax, 0x42c8b0
mov ecx, dword [esp + 0x3c]
call eax
mov ebp, str.WallCover
mov eax, str.._settings.ini
push eax
mov eax, 0x200
push eax
push ebx
push 0x1000a63c
push ebp
mov eax, str.Bind
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, 0x42d8e0
push ebx
push edi
call eax
add esp, 8
mov ebx, eax
xor eax, eax
push eax
push ebp
mov eax, 0x6dc190
call eax
add esp, 8
mov edx, 0x42c500
mov ecx, dword [esp + 0x14]
push eax
call edx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x2c]
movzx eax, al
mov eax, dword [edx + eax*4]
mov byte [eax + 0x2c], bl
mov eax, 0x42c1f0
call eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x100089b8
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
sub esp, 0x1c
mov eax, dword [0x1000bf40]
test eax, eax
jne 0x10008a2f
lea eax, [esp + 0x10]
mov byte [eax + 8], 0
mov dword [eax + 4], 0x32336c65
mov dword [eax], 0x6e72656b
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x10008a2a
mov dword [esp], 0x676e6147
mov dword [esp + 0xb], 0x6b6f6f
mov dword [esp + 8], 0x6f486e69
mov dword [esp + 4], 0x4d617473
mov byte [esp], 0x56
xor ecx, ecx
inc ecx
mov dl, byte [ecx + 0x1000a248]
xor byte [esp + ecx], dl
inc ecx
cmp ecx, 0xe
jne 0x10008a0a
mov ecx, esp
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1000bf40], eax
jmp 0x10008a2f
mov eax, dword [0x1000bf40]
add esp, 0x1c
ret
Function at 0x40679d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x4067c2
mov eax, dword [0x40a914]
cmp eax, 0xffffffff
je 0x4067b9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x40a914], 0xffffffff
jmp 0x406835
cmp dword [0x43baa0], ebx
je 0x406835
cmp byte [0x43b6a0], bl
je 0x406801
cmp dword [0x40a914], 0xffffffff
jne 0x40680a
push 4
push 0x40000000
push 0x43b6a0
call fcn.00406165
cmp eax, 0xffffffff
mov dword [0x40a914], eax
je 0x406835
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x40a914], 0xffffffff
je 0x406835
push esi
mov esi, 0x43fae0
push 0x40aae8
push esi
call fcn.004064b2
lea eax, [ebp + 8]
push ebx
push eax
push esi
call fcn.004064a5
push eax
push esi
push dword [0x40a914]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4069dd
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x43b294], esi
push edi
jne 0x406a17
mov ecx, 0x43b290
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x4069f3
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x43b690
jl 0x4069ee
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x406a4c
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x43b290]
xor eax, esi
inc ecx
dec edx
jne 0x406a2f
pop edi
pop esi
not eax
ret 0xc

Function at 0x10001000
Capabilities:
Create thread
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x100010b2
sub eax, 1
jne 0x100010c6
push ebx
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor ebx, ebx
mov edi, str.14067D0A1767042B2E222933
nop dword [eax + eax]
lea esi, [ebx + 0x100043ec]
push esi
push str._02X
push edi
call fcn.10001160
xor byte [esi], 0x47
lea ebx, [ebx + 1]
add edi, 2
add esp, 0xc
cmp edi, 0x100031dc
jl 0x10001030
mov byte [0x100043f8], 0
xor ebx, ebx
mov edi, str.767570697769776976
lea esi, [ebx + 0x100043b8]
push esi
push str._02X
push edi
call fcn.10001160
xor byte [esi], 0x47
lea ebx, [ebx + 1]
add edi, 2
add esp, 0xc
cmp edi, 0x100031f2
jl 0x10001064
push 0
push 0
push 0
push 0x10001400
push 0
push 0
mov byte [0x100043c1], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebx
mov eax, 1
pop ebp
ret 0xc
mov eax, dword [0x10004420]
test eax, eax
je 0x100010c6
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_DeleteTimerQueueTimer]
mov eax, 1
pop ebp
ret 0xc
Function at 0x137f120
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf27000]
push edi
jmp 0x137f13a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x137f141
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x137f130
mov eax, 1
add ebx, ebx
jne 0x137f153
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x137f164
jne 0x137f183
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x137f183
dec eax
add ebx, ebx
jne 0x137f170
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x137f148
add ebx, ebx
jne 0x137f17f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x137f1d5
xor ecx, ecx
sub eax, 3
jb 0x137f19b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x137f20a
sar eax, 1
mov ebp, eax
jmp 0x137f1a6
add ebx, ebx
jne 0x137f1a6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x137f174
inc ecx
add ebx, ebx
jne 0x137f1b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x137f174
add ebx, ebx
jne 0x137f1c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x137f1b6
jne 0x137f1d2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x137f1b6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x137f1f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x137f1e6
jmp 0x137f136
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x137f1f4
add edi, ecx
jmp 0x137f136
pop esi
mov edi, esi
mov ecx, 0x3ee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x137f212
cmp byte [edi], 0x11
jne 0x137f212
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x137f217
lea edi, [esi + 0xf78000]
mov eax, dword [edi]
or eax, eax
je 0x137f28f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1e26580]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1e266fc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x137f244
mov ecx, edi
jns 0x137f273
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1e26700]
or eax, eax
je 0x137f289
mov dword [ebx], eax
add ebx, 4
jmp 0x137f261
call dword [esi + 0x1e26710]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x137f2c0
cmp al, 0xef
ja 0x137f2b3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x137f295
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x137f2a2
mov ebp, dword [esi + 0x1e26704]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x137f2f4
sub esp, 0xffffff80
jmp 0x427f4a
Function at 0x100018fb
Capabilities:
Encode data using xor

Disassembly:
add al, 0xeb
or al, 0xba
sbb bh, bh
and dword [ecx + 0x7e0a644c], ebp
pop ebp
mov esp, 0x7eb038b
xor byte [edx + 0x5e], al
add bl, byte [eax + esi*8 - 6]
jge 0x1000186a
mov edx, 0xc2334b1b
xor al, 0xae
inc edx
das
pop esi
sbb dword [edx - 0x57c09bd2], eax
dec eax
sub byte [ebx + 0x9eb0453], cl
sub al, byte [ebp + 0x416ab194]
and eax, 0x288111f1
xchg dword [edi - 0xf], edx
outsd dx, dword [esi]
adc ah, byte [ebx]
jne 0x10001932
mov ebx, edx
sub dh, byte [eax + 5]
jo 0x10001909
jl 0x1000188a
adc bl, byte [ebx + 0x718bf8f5]
je 0x10001942
cmc
clc
mov esi, dword [ecx + 0x74]
xor ecx, dword [edi + 0x735afb56]
jecxz 0x1000190a
invalid
ret 0x4308
int1
jne 0x1000198d
int1
outsd dx, dword [esi]
xchg edi, eax
retf
sbb byte [eax + 0x6f], 0xa7
adc bl, byte [edx - 0xc]
xor dl, byte [edx]
sal ch, cl
lcall 0x288f, 0x5f74a956
loope 0x1000194a
dec ecx
pushal
and al, 0x39
or dl, byte [edi - 0xe]
jecxz 0x10001902
mov ebp, 0x1a0a7a7c
hlt
cmp al, 0x7e
or bl, byte [ebx]
add dh, bl
sbb byte [eax + 0x6f], 0x88
fcom dword [esi + 0x67]
add byte [esi + 0x6fc2fdcd], 0x67
int1
outsd dx, dword [esi]
xchg dword [edx - 0x4f70cb8c], esi
cmp dh, bl
dec edx
pushal
fcom qword [ebx + 0x12]
cmp eax, 0xe2dc334f
invalid
Function at 0x402dfc
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404478
test esi, esi
jne 0x402e33
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404568
jmp 0x402e54
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402c98
mov dword [esp], eax
test esi, esi
je 0x402e54
cmp dword [ebx], 0
je 0x402e54
dec esi
jmp 0x402e3b
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x4034dc
Capabilities:
Query or enumerate registry value

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

Function at 0x404270
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x468048], 0
je 0x4042d1
cmp word [0x46821c], 0xd7b2
jne 0x404299
cmp dword [0x468224], 0
jbe 0x404299
mov eax, 0x468218
call dword [0x468234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46606c
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 0x4042f8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x466030], 0
jne 0x4042ed
push 0
push 0x466064
push 0x46606c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40442c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402a38
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x468049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4043f4
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4060cc
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 0x406132
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.004046e8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004030a0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40611c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406139
lea eax, [ebp - 0x10]
call fcn.00404478
ret

Function at 0x40b294
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 0x40b2cd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404568
jmp 0x40b2d6
mov eax, ebx
mov edx, esi
call fcn.004044cc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b2e0
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 0x40b301
mov al, byte [esp]
jmp 0x40b303
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b998
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b800
mov eax, dword [0x467960]
cmp byte [eax], 0
je 0x40ba14
mov eax, dword [0x467770]
call fcn.00402f0c
call fcn.00402bc4
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.00408a84
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 0x40ba5c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40ba4a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x467720]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x468664]
call fcn.00405538
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 0x40c2b8
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 0x40c38e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404510
lea eax, [ebp - 8]
call fcn.00404988
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404938
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c378
mov eax, ebx
call fcn.00402a38
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c371
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.00404938
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c35b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c3a0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c35b
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 0x40c378
mov eax, dword [ebp - 0x10]
call fcn.00402a68
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c395
lea eax, [ebp - 8]
call fcn.00404478
ret

Function at 0x40c8f4
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 0x40c958
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.004046e8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408584
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c95f
lea eax, [ebp - 0xc]
call fcn.00404478
ret

Function at 0x419ed4
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00419d2c
dec esi
jne 0x419ef6
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret