joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434a50
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x44f534
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x46a070]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov ecx, 9
mov dword [esp + 0x14], ecx
lea eax, [esi + 0x7c]
mov dword [esp + 8], eax
mov byte [esp + 0x14], cl
call fcn.004182e0
mov cl, 8
mov byte [esp + 0x14], cl
lea eax, [esi + 0x6c]
mov dword [esp + 8], eax
mov byte [esp + 0x14], cl
call fcn.004182e0
mov cl, 7
mov byte [esp + 0x14], cl
lea eax, [esi + 0x60]
mov dword [esp + 8], eax
mov byte [esp + 0x14], cl
call fcn.004182e0
mov cl, 6
mov byte [esp + 0x14], cl
lea eax, [esi + 0x54]
mov dword [esp + 8], eax
mov byte [esp + 0x14], cl
call fcn.004182e0
mov cl, 5
mov byte [esp + 0x14], cl
lea eax, [esi + 0x48]
mov dword [esp + 8], eax
mov byte [esp + 0x14], cl
call fcn.004182e0
mov cl, 4
mov byte [esp + 0x14], cl
lea eax, [esi + 0x3c]
mov dword [esp + 8], eax
mov byte [esp + 0x14], cl
call fcn.004182e0
mov cl, 3
mov byte [esp + 0x14], cl
lea eax, [esi + 0x30]
mov dword [esp + 8], eax
mov byte [esp + 0x14], cl
call fcn.004182e0
mov cl, 2
mov byte [esp + 0x14], cl
lea eax, [esi + 0x24]
mov dword [esp + 8], eax
mov byte [esp + 0x14], cl
call fcn.004182e0
mov cl, 1
mov byte [esp + 0x14], cl
lea eax, [esi + 0x18]
mov dword [esp + 8], eax
mov byte [esp + 0x14], cl
call fcn.004182e0
xor cl, cl
mov byte [esp + 0x14], cl
lea eax, [esi + 0xc]
mov dword [esp + 8], eax
mov byte [esp + 0x14], cl
call fcn.004182e0
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
call fcn.004182e0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x436100
Capabilities:
Parse pe header

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push edi
mov edi, ecx
push 0x40
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x436120
pop edi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
cmp word [edi], 0x5a4d
jne 0x436119
push esi
mov esi, dword [edi + 0x3c]
push 4
add esi, edi
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x4361f3
cmp dword [esi], 0x4550
jne 0x4361f3
mov dword [ebp], eax
mov dword [ebx], eax
cmp word [esi + 0x18], 0x20b
mov ecx, dword [esi + 0x50]
mov dword [esp + 0x10], eax
jne 0x43616e
mov eax, dword [esi + 0xf8]
mov dword [esp + 0x10], 1
jmp 0x436174
mov eax, dword [esi + 0xe8]
test eax, eax
mov dword [ebp], ecx
mov edx, dword [esi + 8]
mov dword [ebx], edx
je 0x4361f3
cmp dword [esp + 0x18], 0
lea ebx, [eax + edi]
jne 0x4361a5
cmp dword [esp + 0x10], 0
push edi
mov ecx, esi
je 0x43619b
call fcn.00412610
jmp 0x4361a0
call fcn.00412610
mov ebx, eax
add esp, 4
push 0x48
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x4361f3
mov eax, dword [ebx + 8]
sub eax, 0x10
cmp dword [esp + 0x18], 0
lea ebp, [eax + edi]
jne 0x4361dd
cmp dword [esp + 0x10], 0
push edi
mov ecx, esi
je 0x4361d3
call fcn.00412610
jmp 0x4361d8
call fcn.00412610
mov ebp, eax
add esp, 4
push 0x10
push ebp
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x4361f3
cmp dword [ebp], 0x424a5342
je 0x4361fb
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov ecx, dword [esp + 0x1c]
mov esi, 1
xor edi, edi
add ecx, esi
lea ebx, [esi + 0x1b]
jmp 0x436210
movzx eax, byte [ecx - 1]
add eax, esi
xor edx, edx
mov esi, 0xfff1
div esi
add ecx, 4
mov esi, edx
lea eax, [edi + esi]
xor edx, edx
mov edi, 0xfff1
div edi
movzx eax, byte [ecx - 4]
add eax, esi
mov esi, 0xfff1
mov edi, edx
xor edx, edx
div esi
mov esi, edx
lea eax, [edi + esi]
xor edx, edx
mov edi, 0xfff1
div edi
movzx eax, byte [ecx - 3]
add eax, esi
mov esi, 0xfff1
mov edi, edx
xor edx, edx
div esi
mov esi, edx
lea eax, [edi + esi]
xor edx, edx
mov edi, 0xfff1
div edi
movzx eax, byte [ecx - 2]
add eax, esi
mov esi, 0xfff1
mov edi, edx
xor edx, edx
div esi
mov esi, edx
lea eax, [edi + esi]
xor edx, edx
mov edi, 0xfff1
div edi
sub ebx, 1
mov edi, edx
jne 0x436210
mov eax, edi
shl eax, 0x10
add eax, esi
sub eax, dword [ebp + 0xc]
pop esi
neg eax
sbb eax, eax
not eax
pop edi
and eax, ebp
pop ebp
pop ebx
pop ecx
ret
Function at 0x4362b0
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x49c]
sub esp, 0x49c
push 0xffffffffffffffff
push 0x44fdd3
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x46a070]
xor eax, ebp
mov dword [ebp + 0x498], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x4a4]
mov dword [ebp - 0x58], eax
mov eax, dword [0x5a0a94]
add eax, 0x9c
mov dword [ebp - 0x3c], eax
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x38], 1
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x4a8]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x28], eax
mov esi, dword [0x5a0a94]
add esi, 0x64
lea ebx, [ebp - 0x4c]
lea eax, [ebp + 0x480]
call fcn.004378e0
mov ebx, dword [esi + 4]
mov edi, dword [ebp + 0x480]
test edi, edi
je 0x43634c
cmp edi, esi
je 0x436351
call fcn.0043affb
mov esi, dword [ebp + 0x484]
cmp esi, ebx
je 0x43636e
test edi, edi
jne 0x436364
call fcn.0043affb
cmp esi, dword [edi + 4]
jne 0x43636e
call fcn.0043affb
mov byte [ebp - 4], 1
push 0x45e0a8
jmp 0x67bd23

Function at 0x437d60
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44fd88
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x46a070]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [0x5a0a94]
lea edi, [esi + 0x9c]
push edi
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x18], 1
mov dword [esp + 0x38], 0
add esi, 0x64
lea ebx, [ebp + 8]
lea eax, [esp + 0x1c]
call fcn.004378e0
mov ebx, dword [esp + 0x1c]
test ebx, ebx
mov eax, dword [esi + 4]
mov dword [esp + 0x28], eax
je 0x437dd5
cmp ebx, esi
je 0x437dda
call fcn.0043affb
mov esi, dword [esp + 0x20]
cmp esi, dword [esp + 0x28]
jne 0x437df7
mov dword [esp + 0x38], 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x437e22
test ebx, ebx
jne 0x437e00
call fcn.0043affb
cmp esi, dword [ebx + 4]
jne 0x437e0a
call fcn.0043affb
mov esi, dword [esi + 0x10]
test esi, esi
je 0x437de4
mov dword [esp + 0x38], 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x439bc7
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x46a070]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00439b06
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0043d820
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x439c16
cmp dword [ebp - 0x1c], 5
jb 0x439c2e
jmp 0x439c2a
cmp dword [ebp - 0x10], 1
jne 0x439c2e
cmp dword [ebp - 0x1c], 4
ja 0x439c2a
jne 0x439c2e
cmp dword [ebp - 0x18], 0
jbe 0x439c2e
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x451538
call fcn.0043999c
test eax, eax
jge 0x439c4f
mov byte [0x5a0b94], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043a906
add ebp, 0x78
leave
ret

Function at 0x43a906
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46a070]
jne 0x43a910
repz ret
jmp fcn.0043f7ed
Function at 0x43c605
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x43c642
cmp dword [ebp + 0x14], edi
je 0x43c642
cmp ecx, edi
jne 0x43c649
call fcn.0043dcf0
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0043afd7
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x43c65d
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x43c67e
cmp ebx, 0xffffffff
je 0x43c66d
push ebx
push edi
push ecx
call fcn.0043d820
add esp, 0xc
cmp esi, edi
je 0x43c62a
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x43c62a
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x43c69a
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x43c6a1
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x43c792
test word [esi + 0xc], 0x10c
je 0x43c6f5
mov eax, dword [esi + 4]
test eax, eax
je 0x43c6f5
jl 0x43c7f3
cmp ebx, eax
mov edi, ebx
jb 0x43c6c6
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x43c79a
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0043a3c5
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x43c78a
cmp ebx, dword [ebp - 0xc]
jb 0x43c762
cmp dword [ebp - 0xc], 0
je 0x43c71f
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x43c714
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x43c71b
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x43c72a
mov eax, SysReAllocString
cmp ebx, eax
ja 0x43c72a
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x43c7c6
push eax
push dword [ebp - 8]
push esi
call fcn.0044373a
pop ecx
push eax
call fcn.00444671
add esp, 0xc
test eax, eax
je 0x43c805
cmp eax, 0xffffffff
je 0x43c7f3
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x43c78a
push esi
call fcn.00443767
cmp eax, 0xffffffff
pop ecx
je 0x43c7f7
cmp dword [ebp - 4], 0
je 0x43c7c6
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x43c6a9
mov eax, dword [ebp + 0x14]
jmp 0x43c644
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x43c7b1
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0043d820
add esp, 0xc
call fcn.0043dcf0
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x43c63a
cmp dword [ebp + 0xc], 0xffffffff
je 0x43c7dc
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.0043d820
add esp, 0xc
call fcn.0043dcf0
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x43c63a
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x43c644
or dword [esi + 0xc], 0x10
jmp 0x43c7f7
Function at 0x43ebc3
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x46a338]
je 0x43ebde
inc edi
cmp edi, 0x17
jb 0x43ebcf
cmp edi, 0x17
jae 0x43ed5e
push ebp
push 3
call fcn.00446d1e
cmp eax, 1
pop ecx
je 0x43ed2a
push 3
call fcn.00446d1e
test eax, eax
pop ecx
jne 0x43ec12
cmp dword [0x46a060], 1
je 0x43ed2a
cmp ebx, 0xfc
je 0x43ed5d
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x59f058
push ebp
call fcn.0043abb6
add esp, 0xc
test eax, eax
je 0x43ec48
push esi
push esi
push esi
push esi
push esi
call fcn.0043aedb
add esp, 0x14
push 0x104
mov esi, 0x59f071
push esi
push 0
mov byte [0x59f175], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x43ec8c
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0043abb6
add esp, 0xc
test eax, eax
je 0x43ec8c
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0043aedb
add esp, 0x14
push esi
call fcn.0043d110
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x43ecd1
push esi
call fcn.0043d110
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x59f36c
push 0x451bdc
sub ecx, eax
push ecx
push eax
call fcn.00446c6b
add esp, 0x14
test eax, eax
je 0x43ecd1
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0043aedb
add esp, 0x14
jmp 0x43ecd3
xor esi, esi
push 0x451bd8
push ebx
push ebp
call fcn.0043ce0b
add esp, 0xc
test eax, eax
je 0x43ecf3
push esi
push esi
push esi
push esi
push esi
call fcn.0043aedb
add esp, 0x14
push dword [edi*8 + 0x46a33c]
push ebx
push ebp
call fcn.0043ce0b
add esp, 0xc
test eax, eax
je 0x43ed15
push esi
push esi
push esi
push esi
push esi
call fcn.0043aedb
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00446aae
add esp, 0xc
jmp 0x43ed5d
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x43ed5d
cmp ebp, 0xffffffff
je 0x43ed5d
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x46a33c]
push dword [esi]
call fcn.0043d110
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x446aae
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043eea2
xor ebx, ebx
cmp dword [0x59fa38], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x446b84
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x446c64
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4526d4
push edi
call esi
cmp eax, ebx
je 0x446c64
push eax
call fcn.0043ee34
mov dword [esp], 0x4526c4
push edi
mov dword [0x59fa38], eax
call esi
push eax
call fcn.0043ee34
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x59fa3c], eax
call esi
push eax
call fcn.0043ee34
mov dword [0x59fa40], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0043bd17
test eax, eax
pop ecx
pop ecx
je 0x446b52
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043aedb
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x446b84
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0043ee34
cmp eax, ebx
pop ecx
mov dword [0x59fa48], eax
je 0x446b84
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043ee34
pop ecx
mov dword [0x59fa44], eax
mov eax, dword [0x59fa44]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x446c09
cmp dword [0x59fa48], ecx
je 0x446c09
push eax
call fcn.0043eeab
push dword [0x59fa48]
mov esi, eax
call fcn.0043eeab
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x446c09
cmp edi, ebx
je 0x446c09
call esi
cmp eax, ebx
je 0x446bd6
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x446bd6
test byte [ebp - 0x18], 1
jne 0x446c09
lea eax, [ebp - 0x10]
push eax
call fcn.0043bd4e
test eax, eax
pop ecx
je 0x446bf1
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043aedb
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x446c00
or dword [ebp + 0x10], 0x200000
jmp 0x446c44
or dword [ebp + 0x10], 0x40000
jmp 0x446c44
mov eax, dword [0x59fa3c]
cmp eax, dword [ebp - 8]
je 0x446c44
push eax
call fcn.0043eeab
cmp eax, ebx
pop ecx
je 0x446c44
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x446c44
mov eax, dword [0x59fa40]
cmp eax, dword [ebp - 8]
je 0x446c44
push eax
call fcn.0043eeab
cmp eax, ebx
pop ecx
je 0x446c44
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x59fa38]
call fcn.0043eeab
cmp eax, ebx
pop ecx
je 0x446c64
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x446c66
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5c810b
Capabilities:
Read file on windows

Disassembly:
mov dword [esp + 0x18], 0
jle 0x624871
add dword [esp + 0x14], ebx
shr eax, cl
bt eax, edi
bt ax, 3
mov eax, esi
call fcn.0066cbba
mov edi, dword [esp + 0x10]
cmp esp, 0x63b8381b
sub edi, eax
clc
stc
lea edi, [edi - 1]
cmc
add ebx, 0xffffff03
and edi, 0xfff
test ebx, ebx
jmp 0x6b0df2
push ebp
movsx ebp, si
mov ebp, esp
and esp, 0xfffffff8
cmc
lea esp, [esp - 0x2c]
push ebx
push esi
mov esi, eax
cmp byte [esi + 0x12828], 0
push edi
jmp 0x5e03eb
jmp 0x70a972
mov eax, dword [esi + 0x12848]
rcl cl, 0x18
mov edx, dword [esi + 0x12840]
xchg ch, ch
shr cl, cl
cmovbe ecx, eax
mov ecx, dword [eax + edx]
lea eax, [eax + 4]
cmc
mov dword [esi + 0xc], ecx
test esp, 0x639b2af7
mov dword [esi + 0x1283c], ecx
mov dword [esi + 0x12848], eax
stc
jmp 0x70a972
jne 0x5dfe62
mov ecx, dword [esi + 4]
movzx eax, sp
cmovae eax, ebx
push ecx
cbw
push 1
nop
mov eax, eax
lea eax, [esi + 0xc]
jmp 0x630ab1
mov byte [esp + 0xf], bl
jmp 0x6bf06e
pop edi
mov esi, 0x1cd04e6c
movsx bx, al
pop esi
not bx
movsx ebx, bp
pop ebx
jmp 0x633e25
call 0x43c8a1
add esp, 0x10
jmp 0x5d84b9
mov dword [esp + 0x24], ebx
jmp 0x5a400f
mov dword [esp + 0x10], 0xfc4
jmp 0x710db8
push 4
jmp 0x6d2ecd
mov esp, ebp
movzx ebp, bp
pop ebp
ret
call fcn.006dbfa4
push 0xfc4
lahf
not al
cmovno ax, dx
lea eax, [esi + 0x18]
jmp 0x712949
mov dword [esp + 0x1c], edi
jmp 0x60abd2
jne 0x5bb36c
sub edx, edx
jmp 0x715c27
push eax
jmp 0x603dad
push eax
push ebx
jmp 0x42a3ef
mov eax, dword [esi + 0x12830]
test eax, eax
movzx edi, dx
not di
lea edi, [esi + 0x1282c]
jmp 0x5e243e
cmp dword [esi + 0xc], 0
je 0x5e7506
call fcn.006485c5
mov edx, esi
jmp 0x69b637
mov dword [esp + 0x14], 0
jbe 0x5e7506
call fcn.007142b9
mov ebx, eax
cmp bh, 0xdf
cmp ebx, 0x100
jge 0x5bb39e
cmp byte [esi + 0x12828], 0
jne 0x706eab
mov eax, dword [esi + 8]
jmp 0x6e448c
push 0x20
push eax
call fcn.0043d820
add esp, 0xc
clc
cmp dword [esi + 0xc], 0
jmp 0x61407a
jmp 0x5bb377
Function at 0x426dcb
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00418cbb
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 0x426e03
xor eax, eax
jmp 0x426e2f
cmp esi, dword [ebp - 4]
je 0x426e2c
cmp dword [ebp + 0xc], 0
je 0x426e2c
push dword [edi + 0x9c]
call fcn.004269d9
push dword [edi + 0x9c]
mov esi, eax
call fcn.00416bd5
pop ecx
pop ecx
cmp esi, eax
je 0x426dff
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x40e6e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9000]
push edi
or ebp, 0xffffffff
jmp 0x40e702
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40e709
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40e6f8
mov eax, 1
add ebx, ebx
jne 0x40e71b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40e710
jne 0x40e72c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e710
xor ecx, ecx
sub eax, 3
jb 0x40e740
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40e7b2
mov ebp, eax
add ebx, ebx
jne 0x40e74b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40e758
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40e77c
inc ecx
add ebx, ebx
jne 0x40e768
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40e75d
jne 0x40e779
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e75d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40e79c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40e78d
jmp 0x40e6fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40e79c
add edi, ecx
jmp 0x40e6fe
pop esi
mov edi, esi
mov ecx, 0x1d6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40e7ba
cmp byte [edi], 7
jne 0x40e7ba
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40e7bf
lea edi, [esi + 0xc000]
mov eax, dword [edi]
or eax, eax
je 0x40e82e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe058]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40e7ec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xe060]
or eax, eax
je 0x40e828
mov dword [ebx], eax
add ebx, 4
jmp 0x40e809
call dword [esi + 0xe05c]
mov ebp, dword [esi + 0xe064]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40e862
sub esp, 0xffffff80
jmp 0x4021e7
Function at 0x401f21
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437650
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4444c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x84], ecx
mov eax, dword [ebp - 0x84]
mov dword [eax], vtable.base::MessageLoop.0
mov dword [ebp - 4], 7
mov ecx, dword [ebp - 0x84]
call fcn.00402141
mov ecx, dword [ebp - 0x84]
call fcn.0040227f
mov ecx, dword [ebp - 0x84]
call fcn.00402141
mov eax, dword [ebp - 0x84]
add eax, 0x30
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax + 4]
sub eax, dword [ecx]
sar eax, 2
neg eax
sbb eax, eax
neg eax
movzx eax, al
test eax, eax
je 0x401fe6
mov eax, dword [ebp - 0x84]
add eax, 0x2c
push eax
lea ecx, [ebp - 0x20]
call fcn.004029ac
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.00404fdd
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x401fda
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
call dword [eax]
jmp 0x401fbd
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x20]
call fcn.00404f76
xor eax, eax
jne 0x401f80
push 0
push dword [0x445914]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 0x84]
call fcn.004020cd
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x84]
add ecx, 0x88
call fcn.0041be93
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x84]
add eax, 0x74
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x40]
call fcn.00402cc0
mov byte [ebp - 4], 5
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x84]
add ecx, 0x64
call fcn.00401af6
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x84]
add ecx, 0x54
call fcn.00401af6
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x84]
add ecx, 0x44
call fcn.00401af6
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x84]
add ecx, 0x2c
call fcn.00404dcf
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x84]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x7c], eax
push dword [ebp - 0x7c]
call fcn.0041c03e
pop ecx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x84]
add eax, 8
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], 0xa
push 0
push 1
mov ecx, dword [ebp - 0x80]
call fcn.00402ad2
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret