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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x416400]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x14]
call fcn.004023a0
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00402440
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x408e0b
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x14]
call fcn.004023d0
mov eax, dword [ebp - 0x224]
jmp 0x408e9c
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x408e71
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00408da0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x408e68
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x14]
call fcn.004023d0
mov eax, dword [ebp - 0x228]
jmp 0x408e9c
mov dword [ebp - 4], 0x100
jmp 0x408e12
lea ecx, [ebp - 0x14]
call fcn.004023f0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.00408cd0
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x14]
call fcn.004023d0
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0040a797
mov esp, ebp
pop ebp
ret 4
Function at 0x409400
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x409409
xor ecx, ecx
jne 0x409409
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x40942a
mov eax, 0xd
jmp 0x409485
xor eax, eax
jne 0x409411
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x40943b
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8

Function at 0x40a50e
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x417194], 0
push esi
jne 0x40a481
call fcn.0040a3a7
test eax, eax
je 0x40a4c4
mov eax, dword [0x417194]
cmp eax, 1
jne 0x40a4a2
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x40a4c4
pop esi
ret
push eax
call dword [0x41719c]
test eax, eax
jne 0x40a50c
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x40a4c8
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x417194]
call dword [0x41719c]
mov edi, eax
test edi, edi
je 0x40a4ed
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40a509
mov edi, esi
add esi, 0xff0
push edi
push dword [0x417194]
call dword [0x417198]
add edi, 0x10
cmp edi, esi
jb 0x40a4f5
mov eax, edi
pop edi
pop esi
ret
jmp 0x40a46e

Function at 0x40a797
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x416400]
jne 0x40a7a1
repz ret
jmp fcn.0040b9c5
Function at 0x40edd1
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.0040d3c2
and dword [ebp - 4], 0
cmp dword [0x417c3c], 0
mov ebx, eax
jne 0x40ee82
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40ef33
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40ef33
push eax
call fcn.0040d350
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x417c3c], eax
call esi
push eax
call fcn.0040d350
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x417c40], eax
call esi
push eax
call fcn.0040d350
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x417c44], eax
call esi
push eax
call fcn.0040d350
pop ecx
mov dword [0x417c4c], eax
test eax, eax
je 0x40ee82
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040d350
pop ecx
mov dword [0x417c48], eax
mov eax, dword [0x417c48]
cmp eax, ebx
je 0x40eeda
cmp dword [0x417c4c], ebx
je 0x40eeda
push eax
call fcn.0040d3cb
push dword [0x417c4c]
mov esi, eax
call fcn.0040d3cb
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40eeda
test edi, edi
je 0x40eeda
call esi
test eax, eax
je 0x40eed1
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40eed1
test byte [ebp - 0xc], 1
jne 0x40eeda
or dword [ebp + 0x10], 0x200000
jmp 0x40ef13
mov eax, dword [0x417c40]
cmp eax, ebx
je 0x40ef13
push eax
call fcn.0040d3cb
pop ecx
test eax, eax
je 0x40ef13
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40ef13
mov eax, dword [0x417c44]
cmp eax, ebx
je 0x40ef13
push eax
call fcn.0040d3cb
pop ecx
test eax, eax
je 0x40ef13
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x417c3c]
call fcn.0040d3cb
pop ecx
test eax, eax
je 0x40ef33
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40ef35
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001000
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
inc eax
push edi
xor edi, edi
mov dword [esp + 0x10], eax
test eax, eax
jle 0x10001068
mov ecx, dword [esp + 0x18]
mov eax, ebp
lea esi, [edi + edx]
cmp ebp, 4
jb 0x10001036
mov ebx, dword [esi]
cmp ebx, dword [ecx]
jne 0x1000105a
sub eax, 4
add ecx, 4
add esi, 4
cmp eax, 4
jae 0x10001022
test eax, eax
je 0x10001063
mov bl, byte [ecx]
cmp bl, byte [esi]
jne 0x1000105a
cmp eax, 1
jbe 0x10001063
mov bl, byte [ecx + 1]
cmp bl, byte [esi + 1]
jne 0x1000105a
cmp eax, 2
jbe 0x10001063
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
je 0x10001063
inc edi
cmp edi, dword [esp + 0x10]
jl 0x10001014
jmp 0x10001068
cmp edi, 0xffffffff
jne 0x10001070
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea eax, [edi + edx]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x10001080
Capabilities:
Contain obfuscated stackstrings
Print debug messages

Disassembly:
sub esp, 0xc
mov eax, dword [0x10011040]
xor eax, esp
mov dword [esp + 8], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.usernameaddress
call edi
lea eax, [esp + 0xc]
push 7
push eax
mov eax, 0x40000
mov edx, 0x401000
mov byte [esp + 0x14], 0xf
mov byte [esp + 0x15], 0xb6
mov byte [esp + 0x16], 0xd0
mov byte [esp + 0x17], 0x85
mov byte [esp + 0x18], 0xd2
mov byte [esp + 0x19], 0x74
mov byte [esp + 0x1a], 0x22
call section..text
sub eax, 0x1b
mov dword [0x1001227c], eax
add eax, 9
xor bl, bl
lea ecx, [esp + 0x14]
mov dword [0x1001518c], eax
push 8
push ecx
mov eax, 0x40000
mov edx, 0x401000
mov byte [esp + 0x1c], 0x81
mov byte [esp + 0x1d], 0xc1
mov byte [esp + 0x1e], 0xe0
mov byte [esp + 0x1f], bl
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], bl
mov byte [esp + 0x22], 0x51
mov byte [esp + 0x23], 0xff
call section..text
add esp, 0x10
mov dword [0x100124a0], eax
add eax, 6
push str.xuliehao
mov dword [0x10015194], eax
call edi
lea edx, [esp + 0xc]
push 5
push edx
mov eax, 0x40000
mov edx, 0x401000
mov byte [esp + 0x14], 0x68
mov byte [esp + 0x15], 0x98
mov byte [esp + 0x16], 0x1f
mov byte [esp + 0x17], bl
mov byte [esp + 0x18], bl
call section..text
mov dword [0x1001306c], eax
add eax, 5
mov dword [0x10013174], eax
lea eax, [esp + 0x14]
push 7
push eax
mov eax, 0x40000
mov edx, 0x401000
mov byte [esp + 0x1c], 0x77
mov byte [esp + 0x1d], 0x1f
mov byte [esp + 0x1e], 0xf
mov byte [esp + 0x1f], 0xb7
mov byte [esp + 0x20], 0x45
mov byte [esp + 0x21], 0xf0
mov byte [esp + 0x22], 0x50
call section..text
add eax, 2
add esp, 0x10
mov dword [0x100124b8], eax
add eax, 5
mov dword [0x10013998], eax
mov byte [esp + 0xc], 0x50
mov byte [esp + 0xd], 0x8d
mov byte [esp + 0xe], 0x8c
mov byte [esp + 0xf], 0x24
mov byte [esp + 0x10], 0xf8
push str.PropertyModule.dll
mov byte [esp + 0x15], bl
mov byte [esp + 0x16], bl
mov byte [esp + 0x17], bl
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
lea ecx, [esp + 0xc]
add esi, 0x1000
push 8
push ecx
mov eax, 0x10000
mov edx, esi
call section..text
add esp, 8
mov dword [0x1001397c], eax
add eax, 8
push str.bankmoney
mov dword [0x10013980], eax
call edi
mov al, 0x33
lea edx, [esp + 0xc]
push 4
mov byte [esp + 0x10], al
mov byte [esp + 0x12], al
push edx
mov eax, 0x10000
mov edx, esi
mov byte [esp + 0x15], 0xc9
mov byte [esp + 0x17], 0xd2
call section..text
add esp, 8
lea ecx, [eax + 0x45]
mov dword [0x100124b0], ecx
add ecx, 6
pop edi
add eax, 0x2e
mov dword [0x10015190], ecx
mov ecx, dword [esp + 0x10]
pop esi
mov dword [0x10013988], eax
add eax, 6
pop ebx
xor ecx, esp
mov dword [0x1001398c], eax
call fcn.10003f0d
add esp, 0xc
ret
Function at 0x100013b0
Capabilities:
Create thread
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x10011040]
xor eax, esp
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 1], eax
mov dword [esp + 5], eax
mov dword [esp + 9], eax
mov word [esp + 0xd], ax
mov byte [esp + 0xf], al
mov eax, dword [ebp + 0xc]
sub eax, 0
push edi
mov byte [esp + 4], 0
je 0x1000141b
sub eax, 1
jne 0x10001426
lea edi, [esp + 4]
call fcn.10002ee0
push 0x100139a0
push 0
push 0
push 0x10001350
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1001399c], eax
call fcn.10002ee0
jmp 0x10001426
push str.DETTACH
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x14]
pop edi
xor ecx, esp
mov eax, 1
call fcn.10003f0d
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10001440
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Print debug messages
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1000f848
push 0x10006980
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10011040]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], ebx
push str.Unicode2Ascii
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x104
push ebx
push 0x10013df0
call fcn.10007f90
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, 0x10013df0
mov edi, 1
mov al, byte [ecx]
mov byte [edx], al
add ecx, edi
add edx, edi
cmp al, bl
jne 0x100014b2
mov edi, edi
cmp dword [ebp - 0x20], 3
jge 0x100015b2
mov eax, 0x10013df0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100014d2
sub eax, edx
mov dword [ebp - 0x34], eax
je 0x10001583
push ebx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [0x10012060]
push edx
mov ax, word [0x10012078]
movzx ecx, ax
push ecx
mov ecx, dword [0x1001206c]
call fcn.10002f60
add esp, 0x14
mov esi, dword [ebp - 0x24]
cmp esi, ebx
je 0x10001583
push 0x1000ec20
push esi
call fcn.1000cd33
add esp, 8
test eax, eax
jne 0x1000152b
mov dword [0x10013dec], edi
push 0x1000ec24
push esi
call fcn.1000cd33
add esp, 8
test eax, eax
jne 0x10001577
mov esi, dword [0x1001227c]
mov dword [ebp - 0x28], ebx
lea edx, [ebp - 0x28]
push edx
push 0x40
push 7
push esi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call edi
test eax, eax
je 0x10001570
mov byte [esi + 5], 0x90
mov byte [esi + 6], 0xcc
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
push 7
push esi
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
call fcn.10004026
add esp, 4
mov dword [ebp - 0x24], ebx
add dword [ebp - 0x20], edi
jmp 0x100014c0
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10003f0d
mov esp, ebp
pop ebp
ret 4
Function at 0x10002570
Capabilities:
Encode data using base64

Disassembly:
push ecx
mov eax, 0x10014528
test ecx, ecx
je 0x10002660
push ebx
push ebp
push esi
push edi
mov ebp, 0x10
cmp ebp, 3
jl 0x100025f4
mov dl, byte [ecx]
movzx ebx, byte [ecx + 1]
movzx esi, dl
inc ecx
mov edx, esi
shr edx, 2
movzx edx, byte [edx + 0x1000ed10]
mov byte [esp + 0x13], bl
mov bl, byte [ecx + 1]
movzx edi, byte [esp + 0x13]
mov byte [eax], dl
inc ecx
mov edx, edi
shr edx, 4
shl esi, 4
or edx, esi
and edx, 0x3f
movzx edx, byte [edx + 0x1000ed10]
mov byte [eax + 1], dl
inc eax
movzx esi, bl
mov edx, esi
shr edx, 6
add edi, edi
add edi, edi
or edx, edi
and edx, 0x3f
movzx edx, byte [edx + 0x1000ed10]
inc eax
mov byte [eax], dl
inc eax
inc ecx
and esi, 0x3f
movzx edx, byte [esi + 0x1000ed10]
mov byte [eax], dl
jmp 0x10002646
mov bl, byte [ecx]
inc ecx
cmp ebp, 2
jne 0x10002601
mov dl, byte [ecx]
inc ecx
jmp 0x10002603
xor dl, dl
movzx esi, bl
mov edi, esi
shr edi, 2
mov bl, byte [edi + 0x1000ed10]
movzx edi, dl
mov edx, edi
shr edx, 4
shl esi, 4
or edx, esi
mov byte [eax], bl
and edx, 0x3f
mov dl, byte [edx + 0x1000ed10]
inc eax
mov byte [eax], dl
inc eax
cmp ebp, 1
jne 0x10002636
mov dl, 0x3d
jmp 0x10002640
and edi, 0xf
mov dl, byte [edi*4 + 0x1000ed10]
mov byte [eax], dl
inc eax
mov byte [eax], 0x3d
sub ebp, 3
inc eax
test ebp, ebp
jg 0x10002587
pop edi
pop esi
pop ebp
mov byte [eax], 0
mov eax, 0x18
pop ebx
pop ecx
ret
or eax, 0xffffffff
pop ecx
ret

Function at 0x10002ee0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x10011040]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, str.heroesofthestorm
push esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10002ef7
sub eax, edx
push str.heroesofthestorm
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.10002670
add esp, 4
lea esi, [esp + 8]
mov ecx, edi
call fcn.10002720
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.10003f0d
add esp, 0x68
ret
Function at 0x10003f0d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10011040]
jne 0x10003f17
repz ret
jmp fcn.10004ae2

Function at 0x1000a57f
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.10005cf9
and dword [ebp - 4], 0
cmp dword [0x10012f3c], 0
mov ebx, eax
jne 0x1000a630
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1000a6e1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1000a6e1
push eax
call fcn.10005c87
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10012f3c], eax
call esi
push eax
call fcn.10005c87
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10012f40], eax
call esi
push eax
call fcn.10005c87
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10012f44], eax
call esi
push eax
call fcn.10005c87
pop ecx
mov dword [0x10012f4c], eax
test eax, eax
je 0x1000a630
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10005c87
pop ecx
mov dword [0x10012f48], eax
mov eax, dword [0x10012f48]
cmp eax, ebx
je 0x1000a688
cmp dword [0x10012f4c], ebx
je 0x1000a688
push eax
call fcn.10005d02
push dword [0x10012f4c]
mov esi, eax
call fcn.10005d02
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1000a688
test edi, edi
je 0x1000a688
call esi
test eax, eax
je 0x1000a67f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1000a67f
test byte [ebp - 0xc], 1
jne 0x1000a688
or dword [ebp + 0x10], 0x200000
jmp 0x1000a6c1
mov eax, dword [0x10012f40]
cmp eax, ebx
je 0x1000a6c1
push eax
call fcn.10005d02
pop ecx
test eax, eax
je 0x1000a6c1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1000a6c1
mov eax, dword [0x10012f44]
cmp eax, ebx
je 0x1000a6c1
push eax
call fcn.10005d02
pop ecx
test eax, eax
je 0x1000a6c1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10012f3c]
call fcn.10005d02
pop ecx
test eax, eax
je 0x1000a6e1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1000a6e3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x85b058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x85b1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x85b07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x85b06a
add dl, dl
jne 0x85b089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x85b0dc
xor eax, eax
add dl, dl
jne 0x85b096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x85b17d
add dl, dl
jne 0x85b0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x85b0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x85b0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x85b0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x85b0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x85b075
mov eax, 1
add dl, dl
jne 0x85b0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x85b0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x85b0e1
sub eax, ebx
mov ebx, 1
jne 0x85b128
mov ecx, 1
add dl, dl
jne 0x85b10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x85b119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x85b105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x85b075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x85b13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x85b14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x85b136
cmp eax, 0x7d00
jae 0x85b16d
cmp eax, 0x500
jb 0x85b168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x85b075
cmp eax, 0x7f
ja 0x85b170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x85b075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x85b19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x85b075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x405e04
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405e6a
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404450
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ea4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405e54
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405e71
lea eax, [ebp - 0x10]
call fcn.004041e0
ret

Function at 0x40ae38
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40ae71
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004042d0
jmp 0x40ae7a
mov eax, ebx
mov edx, esi
call fcn.00404234
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40ae84
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40aea5
mov al, byte [esp]
jmp 0x40aea7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b53c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b3a4
mov eax, dword [0x451020]
cmp byte [eax], 0
je 0x40b5b8
mov eax, dword [0x450e48]
call fcn.00402d10
call fcn.00402bb4
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408628
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40b600
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b5ee
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x450df8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x452664]
call fcn.00405270
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret