joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100953f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1010f000]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x1009543d
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x1009543d
mov eax, dword [ecx + edx + 0xd8]
mov ecx, dword [ecx + edx + 0xdc]
add eax, edx
add ecx, eax
cmp eax, ecx
jae 0x1009543d
mov edx, dword [ebp + 8]
cmp dword [eax], edx
je 0x1009544d
add eax, 4
cmp eax, ecx
jb 0x10095432
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b28c0
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x1009543d
mov cl, byte [ebp + 0x1c]
test cl, cl
je 0x10095461
mov byte [ebp - 0xc], 0x8b
mov byte [ebp - 0xb], cl
jmp 0x10095467
mov word [ebp - 0xc], 0x15ff
cmp byte [ebp + 0x18], 0
mov dword [ebp - 0xa], eax
je 0x100954d5
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0x14]
add edi, 0xfffffffa
cmp edi, ebx
jb 0x100954c0
mov esi, edi
lea eax, [ebp - 0xc]
sub esi, eax
xor eax, eax
nop dword [eax]
lea ecx, [ebp - 0xc]
add ecx, eax
mov dl, byte [ecx]
cmp dl, byte [esi + ecx]
je 0x100954a1
cmp dl, 0x11
jne 0x100954ba
inc eax
cmp eax, 6
jl 0x10095490
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b28c0
mov esp, ebp
pop ebp
ret
dec edi
dec esi
cmp edi, ebx
jae 0x10095487
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b28c0
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push dword [ebp + 0x10]
push 6
push eax
call fcn.10095b90
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
call fcn.100b28c0
mov esp, ebp
pop ebp
ret

Function at 0x10095500
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov eax, 0x5a4d
sub esp, 0xc
cmp ax, word [edx]
jne 0x10095543
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x10095543
mov eax, dword [ecx + edx + 0xd8]
mov ecx, dword [ecx + edx + 0xdc]
add eax, edx
add ecx, eax
cmp eax, ecx
jae 0x10095543
mov edx, dword [ebp + 0xc]
cmp dword [eax], edx
je 0x1009555e
add eax, 4
cmp eax, ecx
jb 0x10095538
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x10095543
mov cl, byte [ebp + 0x20]
test cl, cl
je 0x10095572
mov byte [ebp - 0xc], 0x8b
mov byte [ebp - 0xb], cl
jmp 0x10095578
mov word [ebp - 0xc], 0x15ff
push dword [ebp + 0x18]
mov dword [ebp - 0xa], eax
lea eax, [ebp - 0xc]
push dword [ebp + 0x14]
push dword [ebp + 0x1c]
push 6
push eax
push dword [ebp + 8]
call fcn.10094f90
mov eax, dword [ebp + 8]
add esp, 0x18
mov esp, ebp
pop ebp
ret

Function at 0x10095c70
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xcccc
push dword [ebp + 8]
call fcn.10095bc0
add esp, 0x18
test eax, eax
je 0x10095c99
inc eax
cmp byte [eax], 0xcc
je 0x10095c93
pop ebp
ret
Function at 0x10095ea0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xcccc
push dword [ebp + 8]
call fcn.10095de0
add esp, 0x18
test eax, eax
je 0x10095ec9
inc eax
cmp byte [eax], 0xcc
je 0x10095ec3
pop ebp
ret

Function at 0x100981c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.10098370
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1009828d
mov edx, dword [ebp - 4]
cmp edx, dword [0x1010ef78]
jb 0x1009820a
mov eax, dword [ebp - 4]
cmp eax, dword [0x1010ef7c]
ja 0x1009820a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x100981da
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100b3d80
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10098230
jmp 0x1009828d
cmp dword [ebp - 0x14], 0x10000
jne 0x10098273
cmp dword [ebp - 0x18], 0x10000
jb 0x10098273
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10098266
mov eax, dword [ebp - 8]
jmp 0x1009828f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10098288
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10098370
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100981da
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x100982a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.100983a0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10098365
mov edx, dword [ebp - 4]
cmp edx, dword [0x1010ef78]
jb 0x100982e5
mov eax, dword [ebp - 4]
cmp eax, dword [0x1010ef7c]
ja 0x100982e5
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x100982b5
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100b3d80
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1009830b
jmp 0x10098365
cmp dword [ebp - 0x14], 0x10000
jne 0x1009834e
cmp dword [ebp - 0x18], 0x10000
jb 0x1009834e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10098341
mov eax, dword [ebp - 8]
jmp 0x10098367
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10098360
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.100983a0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100982b5
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100a01eb
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 0x100a0212
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x100a0215
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.100a01c7
pop esi
leave
ret 8

Function at 0x100a567f
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], edx
jbe 0x100a56a2
movzx eax, byte [esi + edx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [ebp + 0x10]
jb 0x100a5690
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x100b24fd
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.100c948b
mov eax, dword [eax + 0x14]
test eax, eax
je 0x100b2540
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
push 2
push ecx
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x100b2540
sub eax, 1
je 0x100b253b
sub eax, 1
je 0x100b2537
xor eax, eax
leave
ret
push 3
jmp 0x100b2542
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x100d15b6
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100f9a6c
push 0x100f9a64
push str.FlsAlloc
push 0x1e
call fcn.100d13e3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100d15ea
push dword [ebp + 8]
mov ecx, esi
call dword [0x100e8340]
call esi
jmp 0x100d15f0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100d1634
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100f9a7c
push 0x100f9a74
push str.FlsGetValue
push 0x20
call fcn.100d13e3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100d166b
push dword [ebp + 8]
mov ecx, esi
call dword [0x100e8340]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x100d4a9d
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 0x100d4b3a
push ebx
push esi
call fcn.100d4a66
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.100d31cd
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100d4ae7
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100d4b39
push edi
push eax
call fcn.100cfd91
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100d4b07
call fcn.100cfd57
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100d4b38
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100d31cd
add esp, 0x20
test eax, eax
jne 0x100d4b26
push edi
call fcn.100cfd57
jmp 0x100d4b2e
push ebx
call fcn.100cfd57
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 0x100d4b3d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100d4b4e
pop esi
ret
push ebx
push edi
push esi
call fcn.100d4a66
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100cfd91
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100d4b76
push ebx
push esi
push edi
call fcn.100b40a0
add esp, 0xc
push 0
call fcn.100cfd57
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x100d4f3a
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100d4b8b
Function at 0x100dcce0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100dcd0d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100dcd0d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401130
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ecx, 0x33
mov edi, 0x4d90
xor esi, esi
mov ebx, 0x3b82
jmp 0x401150
mov eax, 0x473c1ab7
imul ebx
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x401150
mov ebx, 0x3bf3
mov esi, 0x38a5
lea ecx, [ecx]
mov eax, 0x2e8ba2e9
imul esi
sar edx, 3
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x401170
mov edx, dword [ebp + 8]
test edx, edx
je 0x401258
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x401258
cmp edx, eax
jae 0x401258
sub eax, edx
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], 0xde1
mov dword [ebp - 4], 0x1e
mov eax, 0x14
lea esp, [esp]
cmp eax, 0x1e
cmovl eax, dword [ebp - 4]
dec dword [ebp + 8]
jne 0x4011c0
mov eax, 0xbe6
mov dword [ebp + 8], 0x5d
cmp ecx, 0x5d
cmovl ecx, dword [ebp + 8]
dec eax
jne 0x4011d8
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
jbe 0x401203
mov edi, dword [ebp + 0xc]
lea esp, [esp]
mov al, byte [ecx + edx + 1]
add al, 0x5e
xor byte [ecx + edx], al
inc ecx
cmp ecx, edi
jb 0x4011f0
mov edi, 0x4d90
mov eax, 0x84210843
imul edi
add edx, edi
sar edx, 6
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x401203
jmp 0x401220
mov eax, 0x4bda12f7
imul ebx
sar edx, 3
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x401220
inc esi
mov eax, 0x2aaaaaab
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
add ecx, ecx
mov eax, esi
sub eax, ecx
jne 0x401250
add esi, 2
cmp esi, 0x1aa8
jl 0x401233
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4030a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor esi, esi
xor edi, edi
inc byte [eax + 1]
lea edx, [eax + 0xc]
mov al, byte [eax + 1]
mov ecx, 0x7c
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov ebx, 0x2a34
lea esp, [esp]
mov eax, 0x76b981db
imul ebx
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x4030d0
mov edx, 0x5681
mov dword [ebp - 0xc], 0x92
mov ebx, 0xad
mov eax, 0xa8
lea esp, [esp]
cmp eax, 0x92
cmovl eax, dword [ebp - 0xc]
dec edx
jne 0x403100
mov eax, 0x2998
mov edx, 0x35
cmp ecx, edx
cmovl ecx, edx
dec eax
jne 0x403116
mov edi, edi
inc esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, esi
sub eax, ecx
jne 0x403144
inc esi
cmp esi, 0xd90
jl 0x403120
lea esp, [esp]
inc edi
mov eax, 0x66666667
imul edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*4]
add ecx, ecx
mov eax, edi
sub eax, ecx
jne 0x403170
add edi, 2
cmp edi, 0x1aa8
jl 0x403150
mov ecx, 0x38a5
lea ecx, [ecx]
mov eax, 0xb40b40b5
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x403180
movzx edi, byte [ebp - 1]
mov esi, dword [ebp - 8]
mov edx, dword [ebp + 8]
movzx ecx, byte [edi + esi]
movzx eax, byte [edx + 0xa]
add edi, esi
add eax, ecx
mov byte [edx + 0xa], al
movzx eax, al
add esi, eax
push esi
push edi
call fcn.00403640
mov al, byte [esi]
mov ecx, dword [ebp - 8]
add esp, 8
add al, byte [edi]
mov edx, 0x4e
movzx eax, al
mov cl, byte [eax + ecx]
mov eax, 0x1614
cmp ebx, edx
cmovl ebx, edx
dec eax
jne 0x4031d4
movzx eax, cl
movzx ecx, byte [ebp + 0xc]
pop edi
pop esi
xor eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4065c9
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x42d2c4], 0
jne 0x406604
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4065dd
mov dword [ecx*4 + 0x42d2c0], eax
inc ecx
cmp ecx, 0x100
jl 0x4065d8
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x406631
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x42d2c0]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406612
not eax
pop ebp
ret 0xc

Function at 0x401686
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404474], eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4041cf], ebp
mov dword [0x404404], eax
mov dword [0x4041c7], eax
mov dword [0x4043f0], 0x30
mov dword [0x4043f4], 2
jmp 0x4016c6
mov dword [0x4043f8], 0x403051
mov dword [0x4043fc], 0
mov dword [0x404400], 0
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x40440c], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x404408], eax
mov dword [0x40441c], eax
mov dword [0x404418], 0x40439a
mov dword [0x404410], 0xf
push 0x4043f0
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x4041c7]
push 0
push 0
push 0x1e0
push 0x1fe
push 0xfffff862
push 0xfffff8f8
push 0xcf0000
push 0x4043e7
push str.lunt
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404468], eax
push 5
push dword [0x404468]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404468]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404420]
jmp 0x40179a
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x40178c
mov eax, dword [0x404428]
jmp 0x4017b5
call 0x402a06
ret

Function at 0x1a2caf1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
pushal
pushal
test ebx, esp
cmp ah, 0x31
test edx, edx
pushfd
mov word [esp + 4], 0x81fe
call fcn.00ec294b
pushal
pushfd
lea esp, [esp + 0x24]
call fcn.00ec783b
pushfd
pushal
lea esp, [esp + 0x24]
jmp fcn.00ec8038
mov byte [esp + 4], 0x63
pushfd
lea esp, [esp + 0x10]
je 0xec6245
bt dx, ax
mov esi, dword [eax + 0x3c]
cmc
test ch, dl
add esi, eax
cmc
sbb dx, si
mov edx, dword [esi + 0x78]
pushal
sub esp, 0xffffffe0
ja 0xec2e7c
cmp bp, cx
clc
test edx, edx
call fcn.01a2cac2
jmp 0xec7c5b
Function at 0x43534b
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0042708b
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x435383
xor eax, eax
jmp 0x4353af
cmp esi, dword [ebp - 4]
je 0x4353ac
cmp dword [ebp + 0xc], 0
je 0x4353ac
push dword [edi + 0x9c]
call fcn.00434f59
push dword [edi + 0x9c]
mov esi, eax
call fcn.00424fcd
pop ecx
pop ecx
cmp esi, eax
je 0x43537f
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x433006
Capabilities:
Encode data using xor

Disassembly:
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x10001d2b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov dword [0x10014a14], 0x1234
mov dword [0x10014a18], 0x118d
mov dword [ebp - 0x10], eax
call fcn.10002056
xor ecx, ecx
mov edx, eax
mov esi, dword [0x10014a18]
mov edi, dword [eax + 0x3c]
mov ebx, edx
add ebx, edi
mov edi, dword [eax + edi]
cmp edi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
je 0x10001d84
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x20]
add ecx, 0x21fc
mov dword [0x10014a18], ecx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x10014a14], 0x62
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
je 0x10001ec0
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
add ecx, edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
jmp 0x10001e38
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 2
mov edx, dword [ebp - 0x48]
add edx, 1
mov esi, dword [ebp - 0x34]
cmp edx, esi
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], eax
jb 0x10001e38
jmp 0x10001ec0
mov eax, dword [ebp - 0x4c]
add eax, 1
mov cl, byte [ebp - 0x4d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4e]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x54], eax
jne 0x10001e5c
jmp 0x10001e85
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov esi, dword [ebp - 0x2c]
mov edi, dword [esi + eax*4]
mov dword [0x10014a14], 0x1234
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
mov ecx, eax
mov edx, dword [ebp - 0x58]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x4e], cl
jne 0x10001e0e
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x10001e91
jmp 0x10001de5
mov eax, dword [ebp - 0x44]
movzx ecx, word [eax]
mov dword [0x10014a18], 0x185c
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x28]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x10014a14], 0x6ff
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10002292
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [0x10014a14], 0x107
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x10014a18], 0xa4
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
je 0x1000230e
mov dword [0x10014a18], 0x1707
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0x104
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ecx
jl 0x100022d0
mov eax, dword [ebp - 0x18]
mov dword [0x10014a14], 0xffffff39
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
jne 0x100023c0
mov dword [0x10014a14], 0x8c4
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x100023c0
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff5
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
cmp word [eax], 0x61
jne 0x100023c0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x100023c0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x100023c0
mov dword [0x10014a18], 0xffffe667
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff8
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
cmp word [eax], 0x6c
jne 0x100023c0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x2c], eax
je 0x100023cf
xor eax, eax
mov dword [0x10014a14], 0x1c0f
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
add esp, 0x2c
pop ebp
ret
Function at 0x1000254c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x10014a18], 0x1c22
mov esi, dword [0x10014a14]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x10005266]
mov dh, byte [eax + 0x10005237]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x34], ecx
jne 0x10002577
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
add ecx, 0x38a
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
mov dword [0x10014a18], eax
mov dword [0x10014a14], 0x2676
call fcn.10002d90
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
call fcn.10001ecb
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
je 0x10002698
mov eax, dword [ebp - 0x40]
mov dword [0x10014a18], 0xdf2
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x10014a18], 0x23a4
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x48], eax
call fcn.100030c7
xor eax, eax
mov ecx, dword [ebp - 0x48]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x50], ecx
mov dword [0x10014a14], 0x2677
mov ecx, dword [ebp - 0x48]
mov dword [edx + 0x40], ecx
mov dword [0x10014a18], 0x680
cmp ecx, 0
mov dword [ebp - 0x44], eax
je 0x10002698
mov eax, dword [ebp - 0x48]
add eax, 0x1fcf
mov dword [0x10014a14], 0x1906
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x54
pop esi
pop ebp
ret