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

Disassembly:
sub esp, 0x2ec
mov eax, dword [0x47cfe8]
xor eax, esp
mov dword [esp + 0x2e8], eax
push edi
mov edi, dword [esp + 0x2f4]
mov dword [esp + 0x18], edi
test edi, edi
je 0x467a81
cmp dword [esp + 0x2f8], 0
je 0x467a81
push 0x64
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0043bd90
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 8
push 0
push 0x473a2c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x467a48
mov ecx, dword [esp + 4]
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x100]
push eax
push ebx
mov esi, 0x104
push ecx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x467a3b
lea ebx, [ebx]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push 1
push 0
lea eax, [esp + 0xf8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x467a09
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1f4]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4679fe
push 0x64
push eax
lea eax, [esp + 0x90]
push eax
call fcn.0043bd90
lea ecx, [esp + 0x1fc]
push 0x64
push ecx
lea edi, [esp + 0x9c]
call fcn.00467770
add esp, 0x14
test eax, eax
je 0x4679fe
cmp byte [esp + 0x24], 0
je 0x4679c2
lea edx, [esp + 0x24]
push edx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x4679fe
lea eax, [esp + 0x24]
lea esi, [esp + 0x88]
mov ecx, eax
mov edx, 0x64
sub esi, ecx
lea ecx, [edx + 0x7fffff9a]
test ecx, ecx
je 0x4679f1
mov cl, byte [esi + eax]
test cl, cl
je 0x4679f1
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x4679d6
jmp 0x4679f5
test edx, edx
jne 0x4679f6
dec eax
mov byte [eax], 0
mov esi, 0x104
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0xc]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x100]
push ecx
inc ebx
push ebx
push edx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x467920
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
cmp byte [esp + 0x1c], 0
je 0x467a81
mov edx, dword [esp + 0x2f8]
lea ecx, [esp + 0x1c]
push ecx
push edx
push edi
call fcn.00466b60
xor ecx, ecx
test eax, eax
setge cl
pop edi
mov eax, ecx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.0043bd7f
add esp, 0x2ec
ret
mov ecx, dword [esp + 0x2ec]
pop edi
xor ecx, esp
xor eax, eax
call fcn.0043bd7f
add esp, 0x2ec
ret
Function at 0x467cf0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x50c
mov eax, dword [0x47cfe8]
xor eax, esp
mov dword [esp + 0x508], eax
push ebp
mov ebp, dword [esp + 0x514]
test edi, edi
je 0x467e6d
cmp ebp, 0x20
jb 0x467e6d
push 0x400
lea eax, [esp + 0x110]
push 0
push eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x400
call fcn.0043bd90
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0x10]
push eax
push 0x473a9c
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x467e6d
lea eax, [esp + 0x10c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x467d80
sub eax, edx
cmp eax, 0x40
jne 0x467e6d
push ebx
lea edx, [eax + 0x40]
push esi
lea eax, [esp + 0x14]
lea esi, [esp + 0x114]
mov ecx, eax
sub esi, ecx
lea ecx, [edx - 0x60]
test ecx, ecx
je 0x467dbe
mov cl, byte [esi + eax]
test cl, cl
je 0x467dbe
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x467da6
jmp 0x467dc2
test edx, edx
jne 0x467dc3
dec eax
mov byte [eax], 0
lea eax, [esp + 0x94]
lea edx, [esp + 0x134]
mov ecx, eax
mov esi, 0x80
sub edx, ecx
lea ecx, [ecx]
lea ecx, [esi + 0x7fffff7e]
test ecx, ecx
je 0x467dfb
mov cl, byte [edx + eax]
test cl, cl
je 0x467dfb
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x467de0
jmp 0x467dff
test esi, esi
jne 0x467e00
dec eax
push 0x400
lea edx, [esp + 0x118]
push 0
push edx
mov byte [eax], 0
call fcn.0043bd90
push 0x400
lea ebx, [esp + 0x124]
lea ecx, [esp + 0x24]
call fcn.00466ea0
add esp, 0x10
lea eax, [esp + 0x94]
push eax
mov ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
pop esi
pop ebx
test eax, eax
jne 0x467e6d
lea edx, [esp + 0xc]
push edx
push ebp
push edi
call fcn.00466b60
neg eax
sbb eax, eax
inc eax
pop ebp
mov ecx, dword [esp + 0x508]
xor ecx, esp
call fcn.0043bd7f
add esp, 0x50c
ret
mov ecx, dword [esp + 0x50c]
pop ebp
xor ecx, esp
xor eax, eax
call fcn.0043bd7f
add esp, 0x50c
ret

Function at 0x467e90
Capabilities:
Set registry value

Disassembly:
sub esp, 0x188
mov eax, dword [0x47cfe8]
xor eax, esp
mov dword [esp + 0x184], eax
push ebx
push esi
push 0x80
lea eax, [esp + 0xc]
push 0
push eax
mov esi, ecx
call fcn.0043bd90
push 0x80
lea ebx, [esp + 0x18]
mov ecx, esi
call fcn.00466ea0
lea eax, [esp + 0x98]
mov ecx, eax
add esp, 0x10
mov edx, 0x104
sub esi, ecx
lea esp, [esp]
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x467efb
mov cl, byte [esi + eax]
test cl, cl
je 0x467efb
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x467ee0
jmp 0x467eff
test edx, edx
jne 0x467f00
dec eax
lea edx, [esp + 8]
push edx
mov byte [eax], 0
push 0x104
lea eax, [esp + 0x90]
push eax
call fcn.00466cb0
lea eax, [esp + 0x88]
pop esi
lea edx, [eax + 1]
pop ebx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x467f26
sub eax, edx
push eax
lea ecx, [esp + 0x84]
push ecx
push 1
push 0x473a9c
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.0043bd7f
add esp, 0x188
ret
Function at 0x403d95
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4233b0]
jne 0x403d9f
repz ret
jmp fcn.00405bb6

Function at 0x404426
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.004030b2
and dword [ebp - 4], 0
cmp dword [0x424750], 0
mov ebx, eax
jne 0x4044d7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x404588
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x404588
push eax
call fcn.00403040
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x424750], eax
call esi
push eax
call fcn.00403040
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x424754], eax
call esi
push eax
call fcn.00403040
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x424758], eax
call esi
push eax
call fcn.00403040
pop ecx
mov dword [0x424760], eax
test eax, eax
je 0x4044d7
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403040
pop ecx
mov dword [0x42475c], eax
mov eax, dword [0x42475c]
cmp eax, ebx
je 0x40452f
cmp dword [0x424760], ebx
je 0x40452f
push eax
call fcn.004030bb
push dword [0x424760]
mov esi, eax
call fcn.004030bb
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40452f
test edi, edi
je 0x40452f
call esi
test eax, eax
je 0x404526
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x404526
test byte [ebp - 0xc], 1
jne 0x40452f
or dword [ebp + 0x10], 0x200000
jmp 0x404568
mov eax, dword [0x424754]
cmp eax, ebx
je 0x404568
push eax
call fcn.004030bb
pop ecx
test eax, eax
je 0x404568
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x404568
mov eax, dword [0x424758]
cmp eax, ebx
je 0x404568
push eax
call fcn.004030bb
pop ecx
test eax, eax
je 0x404568
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x424750]
call fcn.004030bb
pop ecx
test eax, eax
je 0x404588
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40458a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401460
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x30
call sym.___main
mov dword [esp + 0x2c], 0x64
mov dword [esp + 0x18], 0x69622e63
mov dword [esp + 0x1c], 0x68636e61
mov dword [esp + 0x20], 0x2e676e65
mov dword [esp + 0x24], 0x74656e
mov dword [esp + 0x28], 0
lea eax, [esp + 0x18]
mov dword [esp + 8], eax
lea eax, [esp + 0x2c]
mov dword [esp + 4], eax
mov dword [esp], str._X___X_n
call sym._printf
nop
leave
ret
Function at 0x401ab0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x407044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40703c]
sub esp, 4
test ebx, ebx
je 0x401afb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401af4
test esi, esi
je 0x401af4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401ad0
mov dword [esp], 0x407044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401cd0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x401d20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x401df8
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x401d5e
cmp eax, 4
jne 0x401d80
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x401d6e
cmp edx, 4
je 0x401d6e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401cd0
Function at 0x404548
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.00406844
test esi, esi
jne 0x404580
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00406980
jmp 0x40459e
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040448c
mov edi, eax
test esi, esi
je 0x40459e
cmp dword [ebx], 0
je 0x40459e
dec esi
jmp 0x404587
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x405de0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4c7050], 0
je 0x405e41
cmp word [0x4c732c], 0xd7b2
jne 0x405e09
cmp dword [0x4c7334], 0
jbe 0x405e09
mov eax, 0x4c7328
call dword [0x4c7344]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x405e6c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4c4030], 0
jne 0x405e5d
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x405fd0
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x4c4034], 0
je 0x405ff2
mov edx, esi
mov eax, ebx
call dword [0x4c4034]
jmp 0x406001
mov eax, 8
call fcn.004041d4
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x4c7051], 1
Function at 0x40816c
Capabilities:
Check os version

Disassembly:
je 0x4081d5
sub eax, 0x6c727943
sub eax, 0x4a54
popal
jp 0x4081a8
dec esp
popal
je 0x4081ed
sub eax, 0x5a41
jne fcn.00408200
sub eax, 0x6e74614c
sub eax, 0x5a55
push ebp
pop edx
add byte [eax], al
insd dword es:[edi], dx
outsb dx, byte [esi]
sub eax, 0x6d2c4e4d
outsb dx, byte [esi]
sub eax, 0x6c727943
sub al, 0x6d
outsb dx, byte [esi]
add byte [eax], al
add byte [eax], al
imul esi, dword [ebp + 0x2d], 0x736e6143
sub eax, 0x4143
popal
outsb dx, byte [esi]
jae 0x4081d9
inc ebx
inc ecx
add byte [eax], al
push 0x614c2d61
je 0x408225
sub eax, 0x474e
jno 0x40822e
jae 0x4081ed
jo 0x40822e
outsd dx, dword [esi]
arpl word [0x7071006e], bp
jae 0x4081f9
jo 0x40823a
outsd dx, dword [esi]
arpl word [ecx + 0x2c], sp
push 0x61
add byte [eax], al
add byte [eax], al
jp 0x408242
add byte [eax], al
add byte [edx + 0x68], bh
push 0x2c4e432d
jp 0x408248
sub eax, 0x7a2c4e43
push 0x6e61482d
jae 0x408212
sub eax, 0x736e6148
sub al, 0x7a
push 0
jp 0x408250
add byte [eax], al
add byte [eax], al
outsb dx, byte [esi]
outsb dx, byte [esi]
sub eax, 0x6e2c4f4e
outsb dx, byte [esi]
sub al, 0x6e
outsd dx, dword [esi]
add byte [ebx + 0x72], dh
sub eax, 0x6e74614c
jb 0x408228
dec esp
popal
je 0x40826d
sub eax, 0x5343
bound ebp, qword [0x642c4544]
jb 0x408293
push ebp
pop edx
add byte [eax], al
sub eax, 0x6e74614c
add byte [eax], al
dec esp
popal
je 0x4082ba
jno 0x4082c2
jae 0x408281
jo 0x4082c2
outsd dx, dword [esi]
arpl word [ebp + 0x2c], bp
popal
sub al, 0x7a
push 0
push 0x2c47532d
jp 0x4082f0
sub eax, 0x736e6148
sub al, 0x7a
push 0
add byte [ebx + 0x6d], dh
jae 0x408364
dec ebp
inc ebp
add byte [eax], al
ret
Function at 0x40818c
Capabilities:
Check os version

Disassembly:
je 0x4081d5
sub eax, 0x6c727943
sub eax, 0x4a54
popal
jp 0x4081a8
dec esp
popal
je 0x4081ed
sub eax, 0x5a41
jne fcn.00408200
sub eax, 0x6e74614c
sub eax, 0x5a55
push ebp
pop edx
add byte [eax], al
insd dword es:[edi], dx
outsb dx, byte [esi]
sub eax, 0x6d2c4e4d
outsb dx, byte [esi]
sub eax, 0x6c727943
sub al, 0x6d
outsb dx, byte [esi]
add byte [eax], al
add byte [eax], al
imul esi, dword [ebp + 0x2d], 0x736e6143
sub eax, 0x4143
popal
outsb dx, byte [esi]
jae 0x4081d9
inc ebx
inc ecx
add byte [eax], al
push 0x614c2d61
je 0x408225
sub eax, 0x474e
jno 0x40822e
jae 0x4081ed
jo 0x40822e
outsd dx, dword [esi]
arpl word [0x7071006e], bp
jae 0x4081f9
jo 0x40823a
outsd dx, dword [esi]
arpl word [ecx + 0x2c], sp
push 0x61
add byte [eax], al
add byte [eax], al
jp 0x408242
add byte [eax], al
add byte [edx + 0x68], bh
push 0x2c4e432d
jp 0x408248
sub eax, 0x7a2c4e43
push 0x6e61482d
jae 0x408212
sub eax, 0x736e6148
sub al, 0x7a
push 0
jp 0x408250
add byte [eax], al
add byte [eax], al
outsb dx, byte [esi]
outsb dx, byte [esi]
sub eax, 0x6e2c4f4e
outsb dx, byte [esi]
sub al, 0x6e
outsd dx, dword [esi]
add byte [ebx + 0x72], dh
sub eax, 0x6e74614c
jb 0x408228
dec esp
popal
je 0x40826d
sub eax, 0x5343
bound ebp, qword [0x642c4544]
jb 0x408293
push ebp
pop edx
add byte [eax], al
sub eax, 0x6e74614c
add byte [eax], al
dec esp
popal
je 0x4082ba
jno 0x4082c2
jae 0x408281
jo 0x4082c2
outsd dx, dword [esi]
arpl word [ebp + 0x2c], bp
popal
sub al, 0x7a
push 0
push 0x2c47532d
jp 0x4082f0
sub eax, 0x736e6148
sub al, 0x7a
push 0
add byte [ebx + 0x6d], dh
jae 0x408364
dec ebp
inc ebp
add byte [eax], al
ret
Function at 0x408204
Capabilities:
Check os version

Disassembly:
popal
jp 0x408234
inc ebx
jns 0x40827c
insb byte es:[edi], dx
sub eax, 0x5a41
jae 0x408275
sub eax, 0x642c4544
jae 0x40827c
sub al, 0x68
jae 0x408280
add byte [eax], al
jne 0x40829c
sub eax, 0x6c727943
sub eax, 0x5a55
insd dword es:[edi], dx
outsb dx, byte [esi]
sub eax, 0x676e6f4d
sub eax, 0x4e43
inc ebx
dec esi
add byte [eax], al
imul esi, dword [ebp + 0x2d], 0x6e74614c
sub eax, 0x4143
je 0x4082c0
insd dword es:[edi], dx
sub eax, 0x6e74614c
sub eax, 0x71005a44
jo 0x4082c6
sub eax, 0x636f6c70
insd dword es:[edi], dx
sub al, 0x61
jb 0x40825d
add byte [eax], al
add byte [edx + 0x68], bh
sub eax, 0x7a2c4b48
push 0x6e61482d
je 0x40829a
jp 0x4082d8
add byte [eax], al
add byte [eax], al
jb 0x4082a4
inc ebx
jns 0x4082ec
insb byte es:[edi], dx
sub eax, 0x5343
inc ebx
push ebx
add byte [eax], al
jp 0x4082ea
sub eax, 0x7a2c4753
push 0x6e61482d
sub al, 0x73
insd dword es:[edi], dx
push 0x2c
jae 0x408306
add byte [eax], al
add byte [edx + 0x68], bh
jp 0x40830e
sub eax, 0x7a2c4f4d
push 0x6e61482d
je 0x4082de
jp 0x40831c
add byte [eax], al
add byte [eax], al
bound esi, qword [ebx + 0x2d]
dec esp
popal
je 0x40832d
sub eax, 0x4142
inc edx
inc ecx
add byte [eax], al
jae 0x408333
push 0x2d
push ebx
inc ebp
sub al, 0x73
insd dword es:[edi], dx
push 0x2c
jae 0x408336
add byte [eax], al
add byte [ebx + 0x72], dh
sub eax, 0x6e74614c
popal
je 0x408349
sub eax, 0x4142
add byte [eax], al
jae 0x40834f
popal
sub eax, 0x732c4f4e
insd dword es:[edi], dx
popal
sub al, 0x73
add byte gs:[eax], al
add byte [ebx + 0x72], dh
sub eax, 0x6c727943
sub eax, 0x4142
jae 0x40836b
popal
sub eax, 0x732c4553
insd dword es:[edi], dx
popal
sub al, 0x73
add byte gs:[eax], al
add byte [edx + 0x73], ah
sub eax, 0x6c727943
sub eax, 0x4142
jae 0x408387
jae 0x408349
inc esi
dec ecx
sub al, 0x73
insd dword es:[edi], dx
jae 0x40834f
jae 0x40838a
add byte [eax], al
add byte [ebx + 0x72], dh
sub eax, 0x6e74614c
je 0x40839d
sub eax, 0x5352
jae 0x4083a3
add byte [ebx + 0x6d], dh
outsb dx, byte [esi]
sub eax, 0x732c4946
insd dword es:[edi], dx
outsb dx, byte [esi]
sub al, 0x73
add byte gs:[eax], al
add byte [ebx + 0x72], dh
sub eax, 0x6c727943
jb 0x4083b7
sub eax, 0x5352
jae 0x4083c4
add byte [ebx + 0x72], dh
sub eax, 0x6e74614c
sub eax, 0x454d
jae 0x4083d0
sub eax, 0x6c727943
sub eax, 0x454d
dec esp
add al, ch
cmpsb byte [esi], byte es:[edi]
mov al, byte [0xc766ffff]
push es
setae byte [0x4c9b54]
add eax, 0x4c9b54
cmp byte [0x4c9b54], 0
je 0x4083e6
push 0x4083e8
invalid
invalid
invalid
Function at 0x40823c
Capabilities:
Check os version

Disassembly:
je 0x4081d5
sub eax, 0x6c727943
sub eax, 0x4a54
popal
jp 0x4081a8
dec esp
popal
je 0x4081ed
sub eax, 0x5a41
jne fcn.00408200
sub eax, 0x6e74614c
sub eax, 0x5a55
push ebp
pop edx
add byte [eax], al
insd dword es:[edi], dx
outsb dx, byte [esi]
sub eax, 0x6d2c4e4d
outsb dx, byte [esi]
sub eax, 0x6c727943
sub al, 0x6d
outsb dx, byte [esi]
add byte [eax], al
add byte [eax], al
imul esi, dword [ebp + 0x2d], 0x736e6143
sub eax, 0x4143
popal
outsb dx, byte [esi]
jae 0x4081d9
inc ebx
inc ecx
add byte [eax], al
push 0x614c2d61
je 0x408225
sub eax, 0x474e
jno 0x40822e
jae 0x4081ed
jo 0x40822e
outsd dx, dword [esi]
arpl word [0x7071006e], bp
jae 0x4081f9
jo 0x40823a
outsd dx, dword [esi]
arpl word [ecx + 0x2c], sp
push 0x61
add byte [eax], al
add byte [eax], al
jp 0x408242
add byte [eax], al
add byte [edx + 0x68], bh
push 0x2c4e432d
jp 0x408248
sub eax, 0x7a2c4e43
push 0x6e61482d
jae 0x408212
sub eax, 0x736e6148
sub al, 0x7a
push 0
jp 0x408250
add byte [eax], al
add byte [eax], al
outsb dx, byte [esi]
outsb dx, byte [esi]
sub eax, 0x6e2c4f4e
outsb dx, byte [esi]
sub al, 0x6e
outsd dx, dword [esi]
add byte [ebx + 0x72], dh
sub eax, 0x6e74614c
jb 0x408228
dec esp
popal
je 0x40826d
sub eax, 0x5343
bound ebp, qword [0x642c4544]
jb 0x408293
push ebp
pop edx
add byte [eax], al
sub eax, 0x6e74614c
add byte [eax], al
dec esp
popal
je 0x4082ba
jno 0x4082c2
jae 0x408281
jo 0x4082c2
outsd dx, dword [esi]
arpl word [ebp + 0x2c], bp
popal
sub al, 0x7a
push 0
push 0x2c47532d
jp 0x4082f0
sub eax, 0x736e6148
sub al, 0x7a
push 0
add byte [ebx + 0x6d], dh
jae 0x408364
dec ebp
inc ebp
add byte [eax], al
ret
Function at 0x40828c
Capabilities:
Check os version

Disassembly:
je 0x4081d5
sub eax, 0x6c727943
sub eax, 0x4a54
popal
jp 0x4081a8
dec esp
popal
je 0x4081ed
sub eax, 0x5a41
jne fcn.00408200
sub eax, 0x6e74614c
sub eax, 0x5a55
push ebp
pop edx
add byte [eax], al
insd dword es:[edi], dx
outsb dx, byte [esi]
sub eax, 0x6d2c4e4d
outsb dx, byte [esi]
sub eax, 0x6c727943
sub al, 0x6d
outsb dx, byte [esi]
add byte [eax], al
add byte [eax], al
imul esi, dword [ebp + 0x2d], 0x736e6143
sub eax, 0x4143
popal
outsb dx, byte [esi]
jae 0x4081d9
inc ebx
inc ecx
add byte [eax], al
push 0x614c2d61
je 0x408225
sub eax, 0x474e
jno 0x40822e
jae 0x4081ed
jo 0x40822e
outsd dx, dword [esi]
arpl word [0x7071006e], bp
jae 0x4081f9
jo 0x40823a
outsd dx, dword [esi]
arpl word [ecx + 0x2c], sp
push 0x61
add byte [eax], al
add byte [eax], al
jp 0x408242
add byte [eax], al
add byte [edx + 0x68], bh
push 0x2c4e432d
jp 0x408248
sub eax, 0x7a2c4e43
push 0x6e61482d
jae 0x408212
sub eax, 0x736e6148
sub al, 0x7a
push 0
jp 0x408250
add byte [eax], al
add byte [eax], al
outsb dx, byte [esi]
outsb dx, byte [esi]
sub eax, 0x6e2c4f4e
outsb dx, byte [esi]
sub al, 0x6e
outsd dx, dword [esi]
add byte [ebx + 0x72], dh
sub eax, 0x6e74614c
jb 0x408228
dec esp
popal
je 0x40826d
sub eax, 0x5343
bound ebp, qword [0x642c4544]
jb 0x408293
push ebp
pop edx
add byte [eax], al
sub eax, 0x6e74614c
add byte [eax], al
dec esp
popal
je 0x4082ba
jno 0x4082c2
jae 0x408281
jo 0x4082c2
outsd dx, dword [esi]
arpl word [ebp + 0x2c], bp
popal
sub al, 0x7a
push 0
push 0x2c47532d
jp 0x4082f0
sub eax, 0x736e6148
sub al, 0x7a
push 0
add byte [ebx + 0x6d], dh
jae 0x408364
dec ebp
inc ebp
add byte [eax], al
ret

Function at 0x408310
Capabilities:
Check os version

Disassembly:
jns 0x408384
insb byte es:[edi], dx
add byte [ebx - 0x6cf0f908], al

Function at 0x408614
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x40877b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00406844
cmp si, word [0x4c47dc]
jb 0x4086ae
cmp si, word [0x4c49dc]
ja 0x4086ae
mov edi, 0x40
xor eax, eax
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0xc]

Function at 0x408688
Capabilities:
Get geographical location

Disassembly:
cmp si, word [ebx*8 + 0x4c47dc]
jbe 0x408698
inc ebx
mov dword [ebp - 0xc], ebx
jmp 0x4086a9
mov edx, dword [ebp - 8]
mov eax, dword [ebx*8 + 0x4c47e0]
call fcn.00408524
jmp 0x4086ae