joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000a7c0
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
sub esp, 0x18
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
add eax, 0x1a
mov dword [esp + 0x10], eax
mov ecx, dword [0x10020380]
xor eax, eax
cmp dword [ecx - 0x367425e], 1
mov dword [esp + 0x14], eax
je 0x1000a846
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov dword [esp], eax
mov dl, byte [edx + eax]
mov byte [esp + 7], dl
mov edi, 0x1a
xor edx, edx
div edi
mov eax, dword [esp]
mov edi, edx
mov dl, byte [esp + 7]
xor dl, byte [esi + edi]
mov byte [ecx + eax], dl
add eax, 1
cmp eax, 0x40
mov dword [esp + 0x14], eax
jne 0x1000a7f5
mov eax, dword [0x10020380]
mov dword [eax - 0x367425e], 1
add esp, 0x18
pop esi
pop edi
ret

Function at 0x1000aa20
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
sub esp, 0x18
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
add eax, 0x1a
mov dword [esp + 0x10], eax
mov ecx, dword [0x10020388]
xor eax, eax
cmp dword [ecx + 0x6b63f17c], 1
mov dword [esp + 0x14], eax
je 0x1000ab0d
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov dword [esp], eax
mov dl, byte [edx + eax]
mov byte [esp + 7], dl
mov edi, 0x1a
xor edx, edx
div edi
mov eax, dword [esp]
mov edi, edx
mov dl, byte [esp + 7]
xor dl, byte [esi + edi]
mov byte [ecx + eax], dl
add eax, 1
cmp eax, 6
mov dword [esp + 0x14], eax
jne 0x1000aa55
mov eax, dword [0x10021c30]
mov ecx, dword [0x10021c2c]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1000aac8
jmp 0x1000ab13
mov eax, dword [0x10020388]
mov dword [eax + 0x6b63f17c], 1
mov eax, dword [0x10021c30]
mov ecx, dword [0x10021c2c]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1000ab08
jmp 0x1000ab13
jmp 0x1000ab0d
add esp, 0x18
pop esi
pop edi
ret
mov eax, dword [0x10020388]
mov dword [eax + 0x6b63f17c], 1
jmp 0x1000aac8
Function at 0x1000ab30
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
sub esp, 0x1c
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [0x10021c28]
mov ecx, dword [0x10021c24]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1000ab76
jmp 0x1000ac9b
mov eax, dword [esp + 0x14]
add eax, 0x12
mov dword [esp + 0xc], eax
mov eax, dword [0x1002038c]
cmp dword [eax + 0x4f0bfd32], 1
sete al
mov byte [esp + 0x13], al
mov eax, dword [0x10021c28]
mov ecx, dword [0x10021c24]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1000abc5
jmp 0x1000ac9b
mov cl, byte [esp + 0x13]
xor eax, eax
test cl, 1
mov dword [esp + 8], eax
jne 0x1000ac95
jmp 0x1000abdd
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov dword [esp], eax
mov dl, byte [edx + eax]
mov byte [esp + 7], dl
mov edi, 0x12
xor edx, edx
div edi
mov eax, dword [esp]
mov edi, edx
mov dl, byte [esp + 7]
xor dl, byte [esi + edi]
mov byte [ecx + eax], dl
add eax, 1
cmp eax, 0x1c
mov dword [esp + 8], eax
jne 0x1000abdd
mov eax, dword [0x10021c28]
mov ecx, dword [0x10021c24]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1000ac50
jmp 0x1000aca0
mov eax, dword [0x1002038c]
mov dword [eax + 0x4f0bfd32], 1
mov eax, dword [0x10021c28]
mov ecx, dword [0x10021c24]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1000ac90
jmp 0x1000aca0
jmp 0x1000ac95
add esp, 0x1c
pop esi
pop edi
ret
jmp 0x1000ab76
mov eax, dword [0x1002038c]
mov dword [eax + 0x4f0bfd32], 1
jmp 0x1000ac50
Function at 0x1000acc0
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
sub esp, 0x1c
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [0x10021c20]
mov ecx, dword [0x10021c1c]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1000ad06
jmp 0x1000adc4
mov eax, dword [esp + 0x14]
add eax, 0x1d
mov dword [esp + 0xc], eax
mov eax, dword [0x10020390]
cmp dword [eax + 0x2d30f5d7], 1
sete al
mov byte [esp + 0x13], al
mov eax, dword [0x10021c20]
mov ecx, dword [0x10021c1c]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1000ad55
jmp 0x1000adc4
mov cl, byte [esp + 0x13]
xor eax, eax
test cl, 1
mov dword [esp + 8], eax
jne 0x1000adbe
jmp 0x1000ad6d
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov dword [esp], eax
mov dl, byte [edx + eax]
mov byte [esp + 7], dl
mov edi, 0x1d
xor edx, edx
div edi
mov eax, dword [esp]
mov edi, edx
mov dl, byte [esp + 7]
xor dl, byte [esi + edi]
mov byte [ecx + eax], dl
add eax, 1
cmp eax, 3
mov dword [esp + 8], eax
jne 0x1000ad6d
mov eax, dword [0x10020390]
mov dword [eax + 0x2d30f5d7], 1
add esp, 0x1c
pop esi
pop edi
ret
jmp 0x1000ad06

Function at 0x1000add0
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
sub esp, 0x1c
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [0x10021c18]
mov ecx, dword [0x10021c14]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1000ae16
jmp 0x1000aed4
mov eax, dword [esp + 0x14]
add eax, 0x1f
mov dword [esp + 0xc], eax
mov eax, dword [0x10020394]
cmp dword [eax + 0x4094c7ef], 1
sete al
mov byte [esp + 0x13], al
mov eax, dword [0x10021c18]
mov ecx, dword [0x10021c14]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1000ae65
jmp 0x1000aed4
mov cl, byte [esp + 0x13]
xor eax, eax
test cl, 1
mov dword [esp + 8], eax
jne 0x1000aece
jmp 0x1000ae7d
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov dword [esp], eax
mov dl, byte [edx + eax]
mov byte [esp + 7], dl
mov edi, 0x1f
xor edx, edx
div edi
mov eax, dword [esp]
mov edi, edx
mov dl, byte [esp + 7]
xor dl, byte [esi + edi]
mov byte [ecx + eax], dl
add eax, 1
cmp eax, 3
mov dword [esp + 8], eax
jne 0x1000ae7d
mov eax, dword [0x10020394]
mov dword [eax + 0x4094c7ef], 1
add esp, 0x1c
pop esi
pop edi
ret
jmp 0x1000ae16
Function at 0x1000aee0
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
sub esp, 0x18
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
add eax, 0x16
mov dword [esp + 0x10], eax
mov ecx, dword [0x10020398]
xor eax, eax
cmp dword [ecx + 0x7ddfc3c7], 1
mov dword [esp + 0x14], eax
je 0x1000afcf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov dword [esp], eax
mov dl, byte [edx + eax]
mov byte [esp + 7], dl
mov edi, 0x16
xor edx, edx
div edi
mov eax, dword [esp]
mov edi, edx
mov dl, byte [esp + 7]
xor dl, byte [esi + edi]
mov byte [ecx + eax], dl
add eax, 1
cmp eax, 0x8d
mov dword [esp + 0x14], eax
jne 0x1000af15
mov eax, dword [0x10021c10]
mov ecx, dword [0x10021c0c]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1000af8a
jmp 0x1000afd5
mov eax, dword [0x10020398]
mov dword [eax + 0x7ddfc3c7], 1
mov eax, dword [0x10021c10]
mov ecx, dword [0x10021c0c]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1000afca
jmp 0x1000afd5
jmp 0x1000afcf
add esp, 0x18
pop esi
pop edi
ret
mov eax, dword [0x10020398]
mov dword [eax + 0x7ddfc3c7], 1
jmp 0x1000af8a

Function at 0x1000aff0
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
sub esp, 0x18
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
add eax, 0x1a
mov dword [esp + 0x10], eax
mov ecx, dword [0x1002039c]
xor eax, eax
cmp dword [ecx - 0x20583f29], 1
mov dword [esp + 0x14], eax
je 0x1000b0dd
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov dword [esp], eax
mov dl, byte [edx + eax]
mov byte [esp + 7], dl
mov edi, 0x1a
xor edx, edx
div edi
mov eax, dword [esp]
mov edi, edx
mov dl, byte [esp + 7]
xor dl, byte [esi + edi]
mov byte [ecx + eax], dl
add eax, 1
cmp eax, 0x14
mov dword [esp + 0x14], eax
jne 0x1000b025
mov eax, dword [0x10021c08]
mov ecx, dword [0x10021c04]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1000b098
jmp 0x1000b0e3
mov eax, dword [0x1002039c]
mov dword [eax - 0x20583f29], 1
mov eax, dword [0x10021c08]
mov ecx, dword [0x10021c04]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1000b0d8
jmp 0x1000b0e3
jmp 0x1000b0dd
add esp, 0x18
pop esi
pop edi
ret
mov eax, dword [0x1002039c]
mov dword [eax - 0x20583f29], 1
jmp 0x1000b098
Function at 0x1000b400
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
sub esp, 0x18
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
add eax, 0x16
mov dword [esp + 0x10], eax
mov ecx, dword [0x100203a8]
xor eax, eax
cmp dword [ecx - 0x408f8ead], 1
mov dword [esp + 0x14], eax
je 0x1000b4ed
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov dword [esp], eax
mov dl, byte [edx + eax]
mov byte [esp + 7], dl
mov edi, 0x16
xor edx, edx
div edi
mov eax, dword [esp]
mov edi, edx
mov dl, byte [esp + 7]
xor dl, byte [esi + edi]
mov byte [ecx + eax], dl
add eax, 1
cmp eax, 0xa
mov dword [esp + 0x14], eax
jne 0x1000b435
mov eax, dword [0x10021bf0]
mov ecx, dword [0x10021bec]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1000b4a8
jmp 0x1000b4f3
mov eax, dword [0x100203a8]
mov dword [eax - 0x408f8ead], 1
mov eax, dword [0x10021bf0]
mov ecx, dword [0x10021bec]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1000b4e8
jmp 0x1000b4f3
jmp 0x1000b4ed
add esp, 0x18
pop esi
pop edi
ret
mov eax, dword [0x100203a8]
mov dword [eax - 0x408f8ead], 1
jmp 0x1000b4a8

Function at 0x1001014d
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1001018c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001018c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001018c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1001018c
cmp dword [ecx + 0x74], 0xe
jbe 0x1001018c
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10012e3e
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 0x10012edb
push ebx
push esi
call fcn.10012e07
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.10012d9b
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10012e88
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10012eda
push edi
push eax
call fcn.10010e17
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10012ea8
call fcn.10010ddd
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10012ed9
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10012d9b
add esp, 0x20
test eax, eax
jne 0x10012ec7
push edi
call fcn.10010ddd
jmp 0x10012ecf
push ebx
call fcn.10010ddd
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 0x10013148
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001b030
push 0x1001b028
push str.FlsAlloc
push 0x1f
call fcn.10013064
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001317c
push dword [ebp + 8]
mov ecx, esi
call dword [0x10019148]
call esi
jmp 0x10013182
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100131c6
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001b040
push 0x1001b038
push str.FlsGetValue
push 0x21
call fcn.10013064
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100131fd
push dword [ebp + 8]
mov ecx, esi
call dword [0x10019148]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10013205
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001b048
push 0x1001b040
push str.FlsSetValue
push 0x22
call fcn.10013064
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001323f
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10019148]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10018890
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100188bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100188bd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x404de0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590379
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x612120]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x28], esi
jb 0x404e3e
mov eax, dword [esi]
jmp 0x404e40
mov eax, esi
mov byte [eax], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 1
cmp edx, 0x103b
ja 0x404ec6
je 0x404eba
cmp edx, 0x46c
ja 0x404eaa
je 0x404e99
mov eax, edx
sub eax, 0x465
je 0x404e88
sub eax, 6
jne 0x404f15
push 0x5e8318
mov ecx, esi
call fcn.00402dd0
jmp 0x404f5d
push 0x5e8300
mov ecx, esi
call fcn.00402dd0
jmp 0x404f5d
push 0x5e8314
mov ecx, esi
call fcn.00402dd0
jmp 0x404f5d
cmp edx, 0x86b
je 0x404e77
cmp edx, 0xc6b
jmp 0x404e71
push 3
push 0x5e8304
jmp 0x404f56
cmp edx, 0x1c3b
ja 0x404f05
je 0x404efc
cmp edx, 0x143b
je 0x404eee
cmp edx, 0x183b
jne 0x404f15
push 0x5e8308
mov ecx, esi
call fcn.00402dd0
jmp 0x404f5d
push 0x5e8304
mov ecx, esi
call fcn.00402dd0
jmp 0x404f5d
push 3
push 0x5e8308
jmp 0x404f56
cmp edx, 0x203b
je 0x404f4f
cmp edx, 0x243b
je 0x404f41
push 0xa
lea eax, [ebp - 0x1c]
push eax
push 0x59
push edx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov ecx, esi
test eax, eax
je 0x404f35
lea eax, [ebp - 0x1c]
push eax
call fcn.00402dd0
jmp 0x404f5d
push 0x5e831c
call fcn.00402dd0
jmp 0x404f5d
push 0x5e8310
mov ecx, esi
call fcn.00402dd0
jmp 0x404f5d
push 3
push 0x5e830c
mov ecx, esi
call fcn.00402cd0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00564ee1
mov esp, ebp
pop ebp
ret

Function at 0x404f80
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590379
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x612120]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x28], esi
jb 0x404fde
mov eax, dword [esi]
jmp 0x404fe0
mov eax, esi
mov byte [eax], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 1
cmp edx, 0x81a
je 0x40503e
cmp edx, 0xc1a
je 0x40503e
cmp edx, 0x2409
je 0x405035
push 0xa
lea eax, [ebp - 0x1c]
push eax
push 0x5a
push edx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov ecx, esi
test eax, eax
je 0x405029
lea eax, [ebp - 0x1c]
push eax
call fcn.00402dd0
jmp 0x40504c
push 0x5e8328
call fcn.00402dd0
jmp 0x40504c
push 3
push 0x5e8324
jmp 0x405045
push 2
push 0x5e8320
mov ecx, esi
call fcn.00402cd0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00564ee1
mov esp, ebp
pop ebp
ret
Function at 0x405070
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x612120]
xor eax, ebp
mov dword [ebp - 4], eax
cmp ecx, 0x43f
je 0x4050d3
cmp ecx, 0x201a
je 0x4050c0
push 0xa
lea eax, [ebp - 0x10]
push eax
push 0x1004
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.0056cec0
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00564ee1
mov esp, ebp
pop ebp
ret
mov eax, 0x4e3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00564ee1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00564ee1
mov esp, ebp
pop ebp
ret

Function at 0x406630
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5905a8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x612120]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push str.SoftwareAdobeALCID
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4066bc
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.00402e50
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x406756
inc ecx
push ecx
jmp 0x40674b
lea eax, [ebp - 0x30]
mov dword [ebp - 0x14], 0
push eax
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x30], 0
push eax
push 0
push str.CCLangPref
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40672d
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x40672d
push eax
call fcn.00438100
mov edi, eax
add esp, 4
test edi, edi
je 0x40672d
lea eax, [ebp - 0x30]
push eax
push edi
lea eax, [ebp - 0x14]
push eax
push 0
push str.CCLangPref
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x406724
push edi
lea ecx, [ebp - 0x2c]
call fcn.00402dd0
push edi
call fcn.00438109
add esp, 4
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.00402e50
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x406756
inc eax
push eax
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.004032e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00564ee1
mov esp, ebp
pop ebp
ret
Function at 0x40d050
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590df8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x612120]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x5e83dc
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
lea ecx, [esi + 0x158]
call fcn.0040ebb0
test al, al
jne 0x40d0a6
xor eax, eax
jmp 0x40d16f
call dword [sym.imp.KERNEL32.dll_UnregisterApplicationRestart]
push 0x2c
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.00568da0
add esp, 0xc
lea ecx, [ebp - 0x48]
call fcn.00438280
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.00439183
cmp dword [ebp - 0x34], 8
jne 0x40d0e3
xor ebx, ebx
jmp 0x40d165
lea eax, [ebp - 0x1c]
mov byte [esi + 0xcc], 1
push eax
mov dword [ebp - 0x1c], 8
mov dword [ebp - 0x18], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call fcn.00438f19
push 0
call fcn.004422f8
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x14]
mov dword [esi + 0x48], eax
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, dword [ebp - 0x14]
mov edx, eax
call fcn.0040ee20
mov edi, eax
mov dword [esi + 0xd0], edi
cmp edi, 5
je 0x40d151
call fcn.00410b20
lea ecx, [esi + 0xd8]
push dword [eax + 0x14]
call fcn.0043cc63
test edi, edi
jne 0x40d15e
lea eax, [esi + 0xd8]
mov dword [esi + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
lea ecx, [ebp - 0x48]
call fcn.00438453
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00564ee1
mov esp, ebp
pop ebp
ret

Function at 0x40d500
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.004448f1