joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003f5c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1003f631
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x1003f5ff
cmp eax, 2
jne 0x1003f61b
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x1003f62b
test ecx, ecx
je 0x1003f626
test cl, 1
jne 0x1003f61b
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x1003f62b
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x10041eb9
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x1007402c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10073cec
Function at 0x705f00
Capabilities:
Parse pe header

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

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x10156568
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101ac2a0]
jne 0x10156572
repz ret
jmp fcn.10156f88

Function at 0x1015af4f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10156a1c
and dword [ebp - 4], 0
cmp dword [0x101ae60c], 0
mov ebx, eax
jne 0x1015b000
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1015b0b1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1015b0b1
push eax
call fcn.101569aa
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101ae60c], eax
call esi
push eax
call fcn.101569aa
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101ae610], eax
call esi
push eax
call fcn.101569aa
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101ae614], eax
call esi
push eax
call fcn.101569aa
pop ecx
mov dword [0x101ae61c], eax
test eax, eax
je 0x1015b000
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.101569aa
pop ecx
mov dword [0x101ae618], eax
mov eax, dword [0x101ae618]
cmp eax, ebx
je 0x1015b058
cmp dword [0x101ae61c], ebx
je 0x1015b058
push eax
call fcn.10156a25
push dword [0x101ae61c]
mov esi, eax
call fcn.10156a25
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1015b058
test edi, edi
je 0x1015b058
call esi
test eax, eax
je 0x1015b04f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1015b04f
test byte [ebp - 0xc], 1
jne 0x1015b058
or dword [ebp + 0x10], 0x200000
jmp 0x1015b091
mov eax, dword [0x101ae610]
cmp eax, ebx
je 0x1015b091
push eax
call fcn.10156a25
pop ecx
test eax, eax
je 0x1015b091
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1015b091
mov eax, dword [0x101ae614]
cmp eax, ebx
je 0x1015b091
push eax
call fcn.10156a25
pop ecx
test eax, eax
je 0x1015b091
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101ae60c]
call fcn.10156a25
pop ecx
test eax, eax
je 0x1015b0b1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1015b0b3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1015c130
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [0x101abfc8], 0x238b
mov dword [ebp - 4], 0
mov dword [0x101abfc8], 0x1d7a
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0x104
setl al
mov byte [ebp - 0x15], al
mov al, byte [ebp - 0x15]
test al, 1
jne 0x1015c18c
jmp 0x1015c1be
mov dword [0x101abfcc], 0x3c9
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
movzx eax, word [ecx + eax*2]
cmp eax, 0
jne 0x1015c1af
jmp 0x1015c1be
jmp 0x1015c1b1
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x1015c176
mov dword [0x101abfcc], 0x17fe
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x1a]
cmp eax, 0x6c
jne 0x1015c2a0
mov eax, dword [0x101abfc8]
sub eax, 0x82d
mov dword [0x101abfc8], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x18]
cmp eax, 0x6f
jne 0x1015c29e
mov dword [0x101abfc8], 0x12a0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x16]
cmp eax, 0x61
jne 0x1015c29c
mov dword [0x101abfc8], 0x1fd2
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x14]
cmp eax, 0x64
jne 0x1015c29a
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x12]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp eax, 0x64
jne 0x1015c298
mov dword [0x101abfc8], 0x2335
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x10]
cmp eax, 0x6c
jne 0x1015c296
mov dword [0x101abfc8], 0x202
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0xe]
cmp eax, 0x6c
jne 0x1015c294
mov dword [ebp - 8], 1
jmp 0x1015c2b1
jmp 0x1015c296
jmp 0x1015c298
jmp 0x1015c29a
jmp 0x1015c29c
jmp 0x1015c29e
jmp 0x1015c2a0
mov dword [0x101abfc8], 0x3b1
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
add esp, 0x20
pop ebp
ret
Function at 0x1015c4e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [fcn.1015c4e0]
mov dword [0x101abfc8], 0x1abd
mov dword [ebp - 8], eax
mov dword [0x101abfc8], 0x24bb
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x1015c533
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x3c]
mov eax, dword [eax + ecx]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, 0x4550
jne 0x1015c531
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x1015c570
jmp 0x1015c533
mov eax, dword [ebp - 8]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 8], eax
mov eax, dword [0x101abfc8]
add eax, 0x1449
mov dword [0x101abfc8], eax
mov al, 1
test al, 1
jne 0x1015c503
jmp 0x1015c55a
mov eax, dword [0x101abfc8]
sub eax, 0x24d8
mov dword [0x101abfc8], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add esp, 0x10
pop ebp
ret
Function at 0x10005425
Capabilities:
Print debug messages

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0xbc
mov eax, dword [0x10027410]
xor eax, ebp
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x74]
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x78]
push esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edi, 0x7f00
mov dword [ebp - 0x18], eax
mov eax, dword [sym.imp.USER32.dll_DefWindowProcA]
push edi
push esi
mov dword [ebp - 0x30], eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push esi
mov dword [ebp - 0x20], eax
call ebx
push edi
push esi
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x10], str.nsis_customMessage
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x34], esi
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
je 0x10005566
push esi
push esi
call ebx
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push str.dummy
push dword [ebp - 0x10]
push esi
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ebx, eax
push ebx
mov dword [ebp], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp + 4]
push str.__d____d
push eax
call fcn.10007108
add esp, 0x10
lea eax, [ebp + 4]
push eax
call edi
push 1
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
jmp 0x10005551
push esi
push esi
push dword [ebp]
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x10005557
push str.____________________________
call edi
push dword [ebp + 0x7c]
push dword [ebp - 0xc]
push dword [ebp - 8]
push dword [ebp]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x4c], 2
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push dword [ebp]
call ebx
test eax, eax
jne 0x10005504
push dword [0x1002a7e8]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_UnregisterClassA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp + 4]
push 0x10022500
push eax
call fcn.10007108
add esp, 0xc
lea eax, [ebp + 4]
push eax
call edi
mov ecx, dword [ebp + 0x68]
mov eax, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100061c6
add ebp, 0x6c
leave
ret

Function at 0x100061c6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10027410]
jne 0x100061d0
repz ret
jmp fcn.1000977a
Function at 0x10009405
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 + 0x10027550]
je 0x10009420
inc edi
cmp edi, 0x17
jb 0x10009411
cmp edi, 0x17
jae 0x100095a0
push ebp
push 3
call fcn.1001151c
cmp eax, 1
pop ecx
je 0x1000956c
push 3
call fcn.1001151c
test eax, eax
pop ecx
jne 0x10009454
cmp dword [0x10029844], 1
je 0x1000956c
cmp ebx, 0xfc
je 0x1000959f
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x100299e8
push ebp
call fcn.1000c1a3
add esp, 0xc
test eax, eax
je 0x1000948a
push esi
push esi
push esi
push esi
push esi
call fcn.1000c032
add esp, 0x14
push 0x104
mov esi, 0x10029a01
push esi
push 0
mov byte [0x10029b05], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x100094ce
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.1000c1a3
add esp, 0xc
test eax, eax
je 0x100094ce
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.1000c032
add esp, 0x14
push esi
call fcn.10006cd0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x10009513
push esi
call fcn.10006cd0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x10029cfc
push 0x10022d1c
sub ecx, eax
push ecx
push eax
call fcn.10011469
add esp, 0x14
test eax, eax
je 0x10009513
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.1000c032
add esp, 0x14
jmp 0x10009515
xor esi, esi
push 0x10022d18
push ebx
push ebp
call fcn.100113f8
add esp, 0xc
test eax, eax
je 0x10009535
push esi
push esi
push esi
push esi
push esi
call fcn.1000c032
add esp, 0x14
push dword [edi*8 + 0x10027554]
push ebx
push ebp
call fcn.100113f8
add esp, 0xc
test eax, eax
je 0x10009557
push esi
push esi
push esi
push esi
push esi
call fcn.1000c032
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.1001123b
add esp, 0xc
jmp 0x1000959f
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x1000959f
cmp ebp, 0xffffffff
je 0x1000959f
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x10027554]
push dword [esi]
call fcn.10006cd0
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 0x10010310
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
mov byte [ebp - 0x7aa], 0xed
and byte [ebp - 0x7a9], 0
mov byte [ebp - 0x7a8], 0x4e
mov byte [ebp - 0x7a7], 0x55
mov byte [ebp - 0x7a6], 0x56
mov byte [ebp - 0x7a5], 0x7e
mov byte [ebp - 0x7a4], 0x21
mov byte [ebp - 0x7a3], 0x20
mov byte [ebp - 0x7a2], 0x3c
mov byte [ebp - 0x7a1], 0x76
mov byte [ebp - 0x7a0], 0x7e
mov byte [ebp - 0x79f], 0x7e
mov byte [ebp - 0x79e], 0x12
push 0xb
lea eax, [ebp - 0x7ac]
push eax
call fcn.1000e61e
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.1000e57f
add esp, 0xc
jmp 0x10010586
Function at 0x1001123b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.1000b1ae
xor ebx, ebx
cmp dword [0x1002a1c8], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x10011311
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x100113f1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1002304c
push edi
call esi
cmp eax, ebx
je 0x100113f1
push eax
call fcn.1000b140
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1002a1c8], eax
call esi
push eax
call fcn.1000b140
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1002a1cc], eax
call esi
push eax
call fcn.1000b140
mov dword [0x1002a1d0], eax
lea eax, [ebp - 0xc]
push eax
call fcn.10009070
test eax, eax
pop ecx
pop ecx
je 0x100112df
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1000c032
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x10011311
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.1000b140
cmp eax, ebx
pop ecx
mov dword [0x1002a1d8], eax
je 0x10011311
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000b140
pop ecx
mov dword [0x1002a1d4], eax
mov eax, dword [0x1002a1d4]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x10011396
cmp dword [0x1002a1d8], ecx
je 0x10011396
push eax
call fcn.1000b1b7
push dword [0x1002a1d8]
mov esi, eax
call fcn.1000b1b7
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x10011396
cmp edi, ebx
je 0x10011396
call esi
cmp eax, ebx
je 0x10011363
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10011363
test byte [ebp - 0x18], 1
jne 0x10011396
lea eax, [ebp - 0x10]
push eax
call fcn.1000911f
test eax, eax
pop ecx
je 0x1001137e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1000c032
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x1001138d
or dword [ebp + 0x10], 0x200000
jmp 0x100113d1
or dword [ebp + 0x10], 0x40000
jmp 0x100113d1
mov eax, dword [0x1002a1cc]
cmp eax, dword [ebp - 8]
je 0x100113d1
push eax
call fcn.1000b1b7
cmp eax, ebx
pop ecx
je 0x100113d1
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x100113d1
mov eax, dword [0x1002a1d0]
cmp eax, dword [ebp - 8]
je 0x100113d1
push eax
call fcn.1000b1b7
cmp eax, ebx
pop ecx
je 0x100113d1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1002a1c8]
call fcn.1000b1b7
cmp eax, ebx
pop ecx
je 0x100113f1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100113f3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405399
Capabilities:
Parse pe header

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

Function at 0x4282a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x4282ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4282c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4282b0
mov eax, 1
add ebx, ebx
jne 0x4282d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4282c8
jne 0x4282e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4282c8
xor ecx, ecx
sub eax, 3
jb 0x4282f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42836a
mov ebp, eax
add ebx, ebx
jne 0x428303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428334
inc ecx
add ebx, ebx
jne 0x428320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428315
jne 0x428331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428315
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428354
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428345
jmp 0x4282b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428354
add edi, ecx
jmp 0x4282b6
pop esi
mov edi, esi
mov ecx, 0x115
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428372
cmp byte [edi], 3
jne 0x428372
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 0x428377
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4283e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x280c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4283a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x280cc]
or eax, eax
je 0x4283e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4283c1
call dword [esi + 0x280c8]
mov ebp, dword [esi + 0x280d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
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 0x42841a
sub esp, 0xffffff80
jmp 0x409ac0
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x2e985330
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..didat
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x16740386
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
popal
nop
nop
nop
nop
jmp 0x431219
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 0x4556fa
Capabilities:
Parse pe header

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

Function at 0x4612a0
Capabilities:
Parse pe header

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