joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4608a0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4608d3
push esi
call fcn.00463a00
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4608cc
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 0x460959
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x460942
mov eax, dword [esi + 8]
test eax, eax
je 0x4608f7
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 0x46093e
cmp eax, 2
je 0x460942
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4608ea
cmp eax, 3
je 0x46091d
cmp eax, 1
jne 0x4608ea
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 0x4608ea
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4608ea
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00460980
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x460968
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00460980
add esp, 4
pop esi
ret

Function at 0x46d9d0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x46da73
test eax, eax
jbe 0x46da73
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x46da73
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x46da1e
xor esi, esi
jmp 0x46da24
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x46da4f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004246b0
add esi, eax
push esi
mov ebx, esi
call fcn.004246b0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x46da30
pop ebp
test edi, edi
pop edi
jne 0x46da73
test ebx, ebx
je 0x46da73
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0049a820
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x46dbb5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x46dccd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46dccd
mov eax, dword [esi + 0x3c]
push eax
call fcn.004acca2
mov esi, eax
test esi, esi
je 0x46dccd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x46dccd
mov ecx, esi
call fcn.0046db20
cmp edi, eax
jge 0x46dccd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x46dc53
mov dword [esp + 0x34], 1
jmp 0x46dcae
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x46dccd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0046c370
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x4720c0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4bbe9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
lea eax, [esp + 0x14]
push esi
xor esi, esi
push eax
push 0x104
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp eax, 0x104
jae 0x4721a0
lea ecx, [esp + 0x18]
lea edx, [esp + 0x18]
push ecx
push esi
push 0x4ec118
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
cmp eax, esi
je 0x4721a0
lea eax, [esp + 0x18]
push 0x1001
push eax
lea ecx, [esp + 0xc]
call fcn.004ab844
mov dword [esp + 0x128], esi
mov esi, dword [esp + 0x134]
push str.lt_
push 0x4ec10c
mov ecx, esi
call fcn.004a81c4
push str.gt_
push 0x4ec100
mov ecx, esi
call fcn.004a81c4
mov esi, dword [esi]
lea ecx, [esp + 4]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004abaf8
lea ecx, [esp + 4]
call fcn.004abbbc
mov esi, dword [esp + 0x130]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.004ab1ac
lea ecx, [esp + 4]
mov dword [esp + 0x128], 0xffffffff
call fcn.004ab8e4
jmp 0x4721b3
mov esi, dword [esp + 0x130]
push 0x50f490
mov ecx, esi
call fcn.004ab1ac
mov ecx, dword [esp + 0x120]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x128
ret
Function at 0x4789d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x50f5a8]
xor edx, edx
cmp eax, edx
jne 0x4789f6
xor eax, eax
mov byte [eax + 0x50f4a8], al
inc eax
cmp eax, 0x100
jl 0x4789de
mov dword [0x50f5a8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x50f4a8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x478a87
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x478a5a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x478a28
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x478a90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x478ae3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x478aca
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47f460
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bc4fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.0047fd80
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x4ce504
call fcn.004aae7f
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x47f4f3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004aae7f
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x47f4ec
push 0
mov ecx, eax
call fcn.00476600
mov dword [esi + 0xc], eax
jmp 0x47f4f5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x47f4f5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4ad645
Capabilities:
Get graphical window text

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

Function at 0x4aed3a
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 0x4aed7c
call fcn.004b4a21
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4aed7c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4aed73
xor eax, eax
jmp 0x4aed84
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004aed8a
pop edi
pop esi
pop ebx
ret 4

Function at 0x4b4f35
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 0x4b4f63
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b4f81
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004b4e9b
jmp 0x4b4f81
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b4f81
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004b4e9b
test edi, edi
mov eax, edi
jne 0x4b4f6b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x44a6a1
Capabilities:
Accept command line arguments

Disassembly:
cmp eax, 0x9f5bff25
lahf
cwde
push esp
pop edi
cdq
mov al, 0x36
pop ss
jbe 0x44a6a1
lcall 0x1baf, 0x63a8944e
retf 0xd9d7
push ebp
mov ebp, esp
push ecx
push ecx
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
movzx ecx, word [edi]
movzx edx, cx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
cmp ax, cx
jne 0x44a6c5
mov eax, dword [ebp + 8]
jmp fcn.0044a8fc
invalid
cmp dword [0x41cc70], 1

Function at 0x44a810
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0x14
push 0x40
mov esi, eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, dword [esp + 0x24]
mov ebp, eax
mov eax, dword [esi + 0x19]
test eax, eax
jne 0x44a8ca
mov eax, dword [esi + 0x1d]
test eax, eax
jne 0x44a8ca
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test ebp, ebp
je 0x44a870
mov ecx, dword [0x650d84]
push 0x650ab8
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push 0
push 0
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push str.GlobalDeskFXEventWrite
push 0
lea edx, [esp + 0x1c]
mov dword [esp + 0x20], edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 1
push edx
mov dword [esp + 0x24], 0xc
mov dword [esp + 0x2c], 0
call edi
mov dword [esi + 0x19], eax
push str.GlobalDeskFXEventRead
push 0
lea eax, [esp + 0x1c]
push 1
push eax
call edi
mov ecx, dword [esi + 0x19]
mov dword [esi + 0x1d], eax
test ecx, ecx
je 0x44a8ca
test eax, eax
mov al, 1
jne 0x44a8cc
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x44a940
Capabilities:
Get file version info

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x214
lea eax, [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x220]
push esi
push edi
push 0x104
push eax
push ecx
mov word [ebp], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x44aa02
cmp eax, 0x104
jne 0x44a985
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x44aa02
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x44aa02
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x44aa02
mov ecx, dword [esp + 0x10]
push ebx
push esi
push edi
lea edx, [esp + 0x24]
push ecx
push edx
xor ebx, ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x44a9ea
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push ecx
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x44a9ea
mov edx, dword [esp + 0x10]
mov ebx, 1
mov ax, word [edx]
mov word [ebp], ax
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x214
ret 8
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x214
ret 8
Function at 0x4a2776
Capabilities:
Encode data using xor

Disassembly:
in al, 0xa8
xor dword [edx + 0x7f], esp
je 0x4a2710
aaa
invalid

Function at 0x5fb033
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0xeb4315c6
cld
jp 0x5fb048
rol edx, 1
jo 0x5fb054
movsb byte es:[edi], byte [esi]
jmp [ebx]
je 0x5fb049
inc esi
cmp al, 0x54
dec esp
and al, 0x90
invalid
or al, 0xa8
salc
test al, 0xd6
mov eax, 0xc6f6882c
shl byte [eax + edx*4], 1
xor al, 0xec
in al, dx
dec eax
cld
pop eax
inc ecx
lea ebp, [esp + esi*8 + 0x18bcc4ac]
xchg byte [esp + ebx*2 - 8], ah
cmpsb byte [esi], byte es:[edi]
enter 0x74b4, 0xffffffffffffffa7
je 0x5fb007
sbb dword [esp + eax*4], ebp
xor byte [eax + eax*8 - 0x13932655], dl
dec eax
cld
pop eax
inc esp
test byte [edi - 0x1c], dl
sub al, 4
mov esp, 0x5ca41954
xor eax, 0x94280260
add byte [edx - 0x68], ah
loope 0x5fb079
mov byte [esi + 0x5c494199], dl
mov edi, 0x946c8cb3
xchg esp, eax
in eax, 0x99
invalid

Function at 0x5351ba
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
pushal
push ebp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add dl, dl
jne 0x5351d7
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x5351c8
add dl, dl
jne 0x5351e2
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x53522e
xor eax, eax
add dl, dl
jne 0x5351ef
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x5352cb
add dl, dl
jne 0x5351fe
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x535209
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x535214
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x53521f
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x535229
push edi
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
jmp 0x5351ce
mov eax, 1
add dl, dl
jne 0x53523c
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x535247
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x535233
sub eax, 2
jne 0x535276
mov ecx, 1
add dl, dl
jne 0x53525c
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x535267
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x535253
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x5351ce
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x53528d
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x535298
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x535284
cmp eax, 0x7d00
jae 0x5352bb
cmp eax, 0x500
jb 0x5352b6
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x5351ce
cmp eax, 0x7f
ja 0x5352be
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x5351ce
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x5352e7
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x5351ce
pop ebp
sub edi, dword [ebp + 0xc]
mov dword [ebp - 4], edi
popal
pop ebp
ret
Function at 0x4fa640
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9a000]
push edi
or ebp, 0xffffffff
jmp 0x4fa662
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4fa669
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4fa658
mov eax, 1
add ebx, ebx
jne 0x4fa67b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4fa68c
jne 0x4fa6ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4fa6ab
dec eax
add ebx, ebx
jne 0x4fa698
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4fa670
add ebx, ebx
jne 0x4fa6a7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4fa6fd
xor ecx, ecx
sub eax, 3
jb 0x4fa6c3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4fa732
sar eax, 1
mov ebp, eax
jmp 0x4fa6ce
add ebx, ebx
jne 0x4fa6ce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4fa69c
inc ecx
add ebx, ebx
jne 0x4fa6dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4fa69c
add ebx, ebx
jne 0x4fa6e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4fa6de
jne 0x4fa6fa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4fa6de
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4fa71c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4fa70e
jmp 0x4fa65e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4fa71c
add edi, ecx
jmp 0x4fa65e
pop esi
mov edi, esi
mov ecx, 0x2e3b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4fa73a
cmp byte [edi], 0x13
jne 0x4fa73a
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 0x4fa73f
lea edi, [esi + 0xf7000]
mov eax, dword [edi]
or eax, eax
je 0x4fa7b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x122714]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12282c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4fa76c
mov ecx, edi
jns 0x4fa79b
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 + 0x122830]
or eax, eax
je 0x4fa7b1
mov dword [ebx], eax
add ebx, 4
jmp 0x4fa789
call dword [esi + 0x122840]
mov ebp, dword [esi + 0x122834]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x4fa7eb
sub esp, 0xffffff80
jmp 0x458024
Function at 0x4036a8
Capabilities:
Query or enumerate registry value

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

Function at 0x40442c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x47204c], 0
je 0x40448d
cmp word [0x472220], 0xd7b2
jne 0x404455
cmp dword [0x472228], 0
jbe 0x404455
mov eax, 0x47221c
call dword [0x472238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x470054
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 0x4044b4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x47001c], 0
jne 0x4044a9
push 0
push 0x470074
push 0x470054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40b6a0
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 0x40b6d9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404698
jmp 0x40b6e2
mov eax, ebx
mov edx, esi
call fcn.004045fc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40bd94
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bc0c
mov eax, dword [0x471468]
cmp byte [eax], 0
je 0x40bdfc
mov eax, dword [0x47118c]
call fcn.00402d5c
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408e34
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
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 0x40be44
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40be32
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x47111c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x472718]
call fcn.00405e3c
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 0x40cb30
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 0x40cb94
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.00404810
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408a78
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cb9b
lea eax, [ebp - 0xc]
call fcn.004045a8
ret