joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4156f0
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x804
mov eax, dword [0x426004]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
xor esi, esi
test edi, edi
jle 0x41575b
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_EndUpdateResourceA]
cmp edi, 0x2d
jne 0x415737
push 0
push 0
call ebp
push str.mipipoyoto_vatelicahujuhasazagupu_zagepidexejexofu_pigilapisitacumayonetaperi_vazaw
push str.wudarureheb_sed_kukexuriyekigobu_jatutuzovaninuguxorepapivi_zaxipatoxo
push str.zabazevafij
push str.vufizu
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
call fcn.00415670
xor byte [ebx + esi], al
cmp edi, 0xf
jne 0x415755
push 0
lea eax, [esp + 0xc]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
inc esi
cmp esi, edi
jl 0x415712
pop ebp
pop esi
cmp edi, 0x2d
jne 0x415775
mov dword [0x4297e0], 0xa62e7790
mov dword [0x4297e4], 0xffffffff
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.004010f0
add esp, 0x804
ret
Function at 0x415ba0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x41c
mov eax, dword [0x426004]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [0x4297d4]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
push edi
mov ebx, 0x1519a5
mov edi, 0x8e46a7b8
lea esp, [esp]
mov dword [0x42943c], edi
cmp eax, 0x3dc
jne 0x415be6
push 0
call esi
mov eax, dword [0x4297d4]
dec ebx
jne 0x415bd0
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, dword [sym.imp.KERNEL32.dll_CancelIo]
xor esi, esi
cmp eax, 0x997
jne 0x415c30
xor eax, eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
push eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call edi
push 0
call ebx
mov eax, dword [0x4297d4]
cmp esi, 0x845f8b
jne 0x415c47
mov eax, dword [0x427940]
add eax, 0xa231
mov dword [0x4297d4], eax
cmp eax, 0x141
jne 0x415c62
mov dword [0x429010], 0xec58acac
mov dword [0x429014], 0xffffffff
inc esi
cmp esi, 0x12cca12
jl 0x415bf7
call fcn.004157d0
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004010f0
add esp, 0x41c
ret 0x10
Function at 0x10003d32
Capabilities:
Terminate process

Disassembly:
jmp 0x10084afe
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x10084b0f
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.10006802
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x10003eae
Capabilities:
Query environment variable

Disassembly:
jmp 0x100d319e
mov edi, edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100d31b2
xor edi, edi
jmp 0x100d31e9
push ebx
push esi
call fcn.100d30a8
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.10004949
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100d31d9
push ebx
push esi
push edi
call fcn.10006587
add esp, 0xc
push 0
call fcn.1000734c
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop ebx
mov eax, edi
pop edi
pop esi
ret
Function at 0x100254b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e77e6
mov eax, dword fs:[0]
push eax
sub esp, 0x184
push esi
push edi
lea edi, [ebp - 0x190]
mov ecx, 0x61
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1011e764]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x10120c64], 1
jne 0x10025543
push 1
push 0x40
push 8
push 0x100f25bc
lea ecx, [ebp - 0xc0]
call fcn.10005fbf
mov dword [ebp - 4], 0
push str._n_HTTP_Server_connection_fail_
lea eax, [ebp - 0xc0]
push eax
call fcn.10003bcf
add esp, 8
lea ecx, [ebp - 0xc0]
call fcn.10002f0e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.10001447
cmp dword [0x10120c74], 1
jne 0x10025609
lea ecx, [ebp - 0xd0]
push ecx
call fcn.100250c0
add esp, 4
lea edx, [ebp - 0xd0]
push edx
call fcn.100250a0
add esp, 4
mov dword [ebp - 0xd8], eax
push 1
push 0x40
push 8
push 0x100f25ec
lea ecx, [ebp - 0x18c]
call fcn.10005fbf
mov dword [ebp - 4], 1
push 0x100f25f0
lea eax, [ebp - 0x18c]
push eax
call fcn.10003bcf
add esp, 8
mov ecx, dword [ebp - 0xd8]
push ecx
call fcn.10005353
add esp, 4
push eax
lea edx, [ebp - 0x18c]
push edx
call fcn.10003bcf
add esp, 8
push 0x100f2600
lea eax, [ebp - 0x18c]
push eax
call fcn.10003bcf
add esp, 8
push 0x100f2620
lea ecx, [ebp - 0x18c]
push ecx
call fcn.10003bcf
add esp, 8
lea ecx, [ebp - 0x18c]
call fcn.10002f0e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18c]
call fcn.10001447
cmp dword [0x10120c68], 1
je 0x10025624
cmp dword [0x10120c68], 3
je 0x10025624
cmp dword [0x10120c68], 4
jne 0x10025667
mov esi, esp
push 0
push 0
push 0
push 0x100023a1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp esi, esp
call fcn.10004ea8
mov esi, esp
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.10004ea8
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [0x10120c68], 2
jne 0x100256b3
mov esi, esp
push 0
push 0
push 0
push 0x10004750
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp esi, esp
call fcn.10004ea8
mov esi, esp
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.10004ea8
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [0x10120c68], 0
jne 0x100256cf
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1004e870
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1234
call fcn.10002031
push esi
push edi
lea edi, [ebp - 0x1234]
mov ecx, 0x48d
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1011e764]
xor eax, ebp
mov dword [ebp - 4], eax
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.10004ea8
mov dword [ebp - 8], eax
mov esi, esp
mov eax, dword [ebp - 8]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp esi, esp
call fcn.10004ea8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1004e8d7
xor al, al
jmp 0x1004e993
lea ecx, [ebp - 0x101c]
push ecx
push 0x1000
lea edx, [ebp - 0x1010]
push edx
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x1004e97e
mov dword [ebp - 0x1024], 0
jmp 0x1004e916
mov ecx, dword [ebp - 0x1024]
add ecx, 1
mov dword [ebp - 0x1024], ecx
mov edx, dword [ebp - 0x101c]
shr edx, 2
cmp dword [ebp - 0x1024], edx
jae 0x1004e97e
push 0x104
lea eax, [ebp - 0x1230]
push eax
mov ecx, dword [ebp - 0x1024]
mov edx, dword [ebp + ecx*4 - 0x1010]
push edx
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.dll_K32GetModuleFileNameExW
test eax, eax
je 0x1004e97c
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x1230]
push edx
call fcn.10006505
add esp, 8
test eax, eax
je 0x1004e97c
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.10004ea8
mov al, 1
jmp 0x1004e993
jmp 0x1004e907
mov esi, esp
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.10004ea8
xor al, al
push edx
mov ecx, ebp
push eax
lea edx, [0x1004e9c4]
call fcn.1000453e
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10003675
add esp, 0x1234
cmp ebp, esp
call fcn.10004ea8
mov esp, ebp
pop ebp
ret
Function at 0x403549
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
or dword [ebp - 8], 0xffffffff
mov eax, ecx
push ebx
push esi
push edi
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x18], edx
push ecx
xor edi, edi
mov dword [ebp - 0x10], eax
push eax
mov esi, edi
mov dword [ebp - 4], edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov ebx, eax
test ebx, ebx
je 0x4035cc
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x40358f
push 8
pop edi
or ebx, 0xffffffff
jmp 0x4035e2
push esi
push ebx
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x4035cc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
push 0x4026e4
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x4035d4
cmp dword [ebp - 0x14], edi
je 0x4035d4
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 8], eax
jmp 0x4035d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
or ebx, 0xffffffff
test esi, esi
je 0x4035e2
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4035eb
mov dword [eax], ebx
mov eax, dword [ebp + 8]
test eax, eax
je 0x4035f7
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405a22
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
mov edi, edi
push esi
push edi
call fcn.0040586d
mov esi, eax
test esi, esi
je 0x405b9f
push 0x4012e4
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4012f0
push esi
mov dword [0x40ee68], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4012fc
push esi
mov dword [0x40ee6c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401308
push esi
mov dword [0x40ee70], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x40ee68], 0
mov dword [0x40ee74], eax
je 0x405a98
cmp dword [0x40ee6c], 0
je 0x405a98
cmp dword [0x40ee70], 0
je 0x405a98
test eax, eax
jne 0x405ac0
mov eax, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [0x40ee6c], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [0x40ee70], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsFree]
mov dword [0x40ee68], 0x4055e0
mov dword [0x40ee74], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x40e570], eax
cmp eax, 0xffffffff
je 0x405ba4
push dword [0x40ee6c]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x405ba4
call fcn.00405dd2
push dword [0x40ee68]
call fcn.00405692
push dword [0x40ee6c]
mov dword [0x40ee68], eax
call fcn.00405692
push dword [0x40ee70]
mov dword [0x40ee6c], eax
call fcn.00405692
push dword [0x40ee74]
mov dword [0x40ee70], eax
call fcn.00405692
add esp, 0x10
mov dword [0x40ee74], eax
call fcn.00408d05
test eax, eax
je 0x405b9f
push 0x405710
push dword [0x40ee68]
call fcn.0040561d
pop ecx
mov esi, eax
mov ecx, eax
call dword [0x41118c]
call esi
mov dword [0x40e56c], eax
cmp eax, 0xffffffff
je 0x405b9f
push 0x214
push 1
call fcn.00408d6c
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x405b9f
push edi
push dword [0x40e56c]
push dword [0x40ee70]
call fcn.0040561d
pop ecx
mov esi, eax
mov ecx, eax
call dword [0x41118c]
call esi
test eax, eax
jne 0x405ba9
push edi
call fcn.00407efa
pop ecx
call fcn.00405bbc
xor eax, eax
pop edi
pop esi
ret
push 0
push edi
call fcn.00405949
pop ecx
pop ecx
or dword [edi + 4], 0xffffffff
xor eax, eax
inc eax
jmp 0x405ba6
Function at 0x406021
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
mov esi, ebx
cmp edi, dword [esi*8 + 0x401008]
je 0x406040
inc esi
cmp esi, 0x17
jb 0x406031
cmp esi, 0x17
jae 0x406180
push 3
call fcn.0040934e
pop ecx
cmp eax, 1
je 0x40614a
push 3
call fcn.0040934e
pop ecx
test eax, eax
jne 0x406073
cmp dword [0x40e550], 1
je 0x40614a
cmp edi, 0xfc
je 0x406180
push 0x4018e0
push 0x314
mov edi, 0x40eeb0
push edi
call fcn.0040925f
add esp, 0xc
test eax, eax
je 0x4060a8
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00407a0a
add esp, 0x14
push 0x104
push 0x40eec9
push ebx
mov byte [0x40efcd], bl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4060eb
push 0x4018fc
push 0x2fb
push 0x40eec9
call fcn.0040925f
add esp, 0xc
test eax, eax
je 0x4060eb
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00407a0a
add esp, 0x14
push 0x401914
push 0x314
push edi
call fcn.004092cf
add esp, 0xc
test eax, eax
je 0x40610f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00407a0a
add esp, 0x14
push dword [esi*8 + 0x40100c]
push 0x314
push edi
call fcn.004092cf
add esp, 0xc
test eax, eax
je 0x406135
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00407a0a
add esp, 0x14
push 0x12010
push 0x401918
push edi
call fcn.0040939a
add esp, 0xc
jmp 0x406180
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, eax
test edx, edx
je 0x406180
cmp edx, 0xffffffff
je 0x406180
mov esi, dword [esi*8 + 0x40100c]
mov ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406169
push ebx
lea eax, [ebp - 4]
sub ecx, edi
push eax
push ecx
push esi
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4068d5
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov edi, eax
test edi, edi
je 0x406967
xor edx, edx
push esi
mov esi, edi
cmp word [edi], dx
je 0x40690a
add esi, 2
movzx eax, word [esi]
mov ecx, eax
test ax, ax
jne 0x406905
add esi, 2
movzx ecx, word [esi]
test cx, cx
jne 0x4068f2
push ebx
push edx
push edx
push edx
sub esi, edi
push edx
sar esi, 1
inc esi
push esi
push edi
push edx
push edx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 4], eax
test eax, eax
je 0x40695c
push eax
call fcn.00407de6
mov ebx, eax
pop ecx
test ebx, ebx
je 0x40695c
xor eax, eax
push eax
push eax
push dword [ebp - 4]
push ebx
push esi
push edi
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x406951
push ebx
call fcn.00407efa
pop ecx
xor ebx, ebx
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
jmp 0x406965
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
pop ebx
pop esi
pop edi
leave
ret
Function at 0x408dc0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x408dfe
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x408df6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x408e00
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x408de6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x408ed0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x408f01
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x408f01
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x408f01
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40939a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x40e598]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x18], eax
call fcn.00405707
xor esi, esi
mov ebx, eax
cmp dword [0x40f470], esi
jne 0x40947a
push esi
push esi
push 0x401cb0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40955c
push 0x401cc8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40955c
push eax
call fcn.00405692
mov dword [esp], 0x401cd4
push edi
mov dword [0x40f470], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.00405692
mov dword [esp], 0x401ce4
push edi
mov dword [0x40f474], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.00405692
mov dword [esp], 0x401cf8
push edi
mov dword [0x40f478], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.00405692
pop ecx
mov ecx, eax
mov dword [0x40f480], ecx
test ecx, ecx
je 0x409473
push 0x401d14
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.00405692
pop ecx
mov dword [0x40f47c], eax
jmp 0x40947f
mov eax, dword [0x40f47c]
jmp 0x409485
mov eax, dword [0x40f47c]
mov ecx, dword [0x40f480]
cmp eax, ebx
je 0x4094eb
cmp ecx, ebx
je 0x4094eb
push eax
call fcn.0040561d
push dword [0x40f480]
mov dword [ebp - 0x14], eax
call fcn.0040561d
mov edi, eax
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
test eax, eax
je 0x4094eb
test edi, edi
je 0x4094eb
mov ecx, eax
call dword [0x41118c]
mov eax, dword [ebp - 0x14]
call eax
test eax, eax
je 0x4094e2
lea ecx, [ebp - 0x20]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
mov ecx, edi
call dword [0x41118c]
call edi
test eax, eax
je 0x4094e2
test byte [ebp - 8], 1
jne 0x4094eb
or dword [ebp + 0x10], 0x200000
jmp 0x409534
mov eax, dword [0x40f474]
cmp eax, ebx
je 0x409534
push eax
call fcn.0040561d
mov edi, eax
pop ecx
test edi, edi
je 0x409534
mov ecx, edi
call dword [0x41118c]
call edi
mov esi, eax
test esi, esi
je 0x409534
mov eax, dword [0x40f478]
cmp eax, ebx
je 0x409534
push eax
call fcn.0040561d
mov edi, eax
pop ecx
test edi, edi
je 0x409534
push esi
mov ecx, edi
call dword [0x41118c]
call edi
mov esi, eax
push dword [0x40f470]
call fcn.0040561d
mov edi, eax
pop ecx
test edi, edi
je 0x40955c
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push esi
call dword [0x41118c]
call edi
jmp 0x40955e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404eaa
leave
ret
Function at 0x40cca3
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x40e598]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 4
xor esi, esi
pop eax
mov dword [ebp - 0xc], esi
call fcn.0040c8a0
mov eax, esp
lea ecx, [ebp - 0x34]
push 0x1c
push ecx
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40cdb2
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ebx, dword [ebp - 0x54]
push 0x401330
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40cd34
push 0x40268c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x40cd34
lea eax, [ebp - 0xc]
mov ecx, edi
push eax
call dword [0x41118c]
call edi
cmp eax, 1
jne 0x40cd34
cmp dword [ebp - 0xc], esi
jbe 0x40cd34
mov esi, dword [ebp - 0xc]
mov dword [ebp - 8], esi
lea eax, [ebp - 8]
push eax
lea edi, [ebx - 1]
push edi
push esi
call fcn.004063e6
add esp, 0xc
test eax, eax
js 0x40cdb2
mov esi, dword [ebp - 8]
not edi
and esi, edi
mov dword [ebp - 8], esi
je 0x40cd6a
lea eax, [ebp - 8]
push eax
push ebx
push esi
call fcn.004063e6
add esp, 0xc
test eax, eax
js 0x40cdb2
mov esi, dword [ebp - 8]
lea eax, [ebx + ebx]
cmp esi, eax
jae 0x40cd73
mov esi, eax
mov eax, dword [ebp - 0x14]
mov edi, ebx
neg edi
add eax, ebx
and edi, dword [ebp - 0x10]
sub edi, esi
cmp edi, eax
jb 0x40cdb2
push 4
push 0x1000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x40cdb2
lea ecx, [ebp - 0x18]
push ecx
push 0x104
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x40cdb2
xor eax, eax
inc eax
jmp 0x40cdb4
xor eax, eax
lea esp, [ebp - 0x64]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404eaa
leave
ret
Function at 0x776d68
Capabilities:
Encode data using base64

Disassembly:
inc ecx
mov ecx, 0x7b9e28af
call fcn.007862bc
mov eax, dword [ebp]
push ebx
mov ecx, 0x76345a88
cpuid
jmp 0x7d01ab
push 0x20bd8b7
sub ebp, 0xc
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], ebx
mov dword [ebp + 4], ecx
call fcn.0077c619
dec edx
mov dword [esp + edi - 0xac], esi
dec ecx
mov ebx, esp
pop edx
inc ecx
pop esp
jmp 0x776d5d

Function at 0x7b1fea
Capabilities:
Encode data using base64

Disassembly:
mov dx, word [esi]
mov dword [esp], 0x491b132c
jmp 0xc66193
call fcn.00c06ed4
Function at 0x7e0d85
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [edx + 0x3c]
lea eax, [eax + edx]
cmp dword [eax], 0x4550
jmp 0x7e2b7b
je 0xc11361
mov eax, dword [ecx + edx + 0x20]
dec edi
test si, 0x88a1
add eax, edx
xor ebx, ebx
mov dword [ebp - 0xc], eax
test cx, 0x8a24
test edi, edi
jmp 0xb7b993
jmp 0xc11358
ret
mov esp, ebp
bswap bp
pop ebp
jmp 0x7c3689
mov ecx, dword [esp + 4]
xadd bl, bh
movsx esi, al
mov dword [esp + esi - 5], eax
mov edi, dword [esp + esi*4 - 0x1c]
xor ax, si
push eax
mov ebp, dword [esp + esi + 7]
call fcn.00c1993c
je 0x77130b
xor eax, eax
xchg esi, esi
bswap si
pop esi
jmp 0x7e0385
jne 0x7e0daa
mov ecx, dword [eax + 0x78]
clc
test dh, dl
cmc
mov dword [ebp - 4], ecx
test bp, 0xe187
cmc
stc
test ecx, ecx
jmp 0xbd6f64
jl 0xc11361
jmp 0x7deeb2
je 0x7e0daa
mov eax, dword [eax + 0x7c]
cmp bp, bp
stc
push ebx
test esi, ecx
test bx, 0xa7a4
push edi
mov dword [ebp - 0x10], eax
clc
mov dword [ebp - 8], 0xffffffff
test esi, esi
cmp dx, dx
cmp esi, 0xffff
jmp 0xc14ef0
ja 0xc93209
mov eax, esi
clc
sub eax, dword [ecx + edx + 0x10]
jmp 0x778e75
mov edi, dword [ecx + edx + 0x18]
test edi, edi
jmp 0x772fcf

Function at 0x84ae7a
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
je 0x7e0daa
mov eax, 0x5a4d
test ah, 2
clc
cmp word [edx], ax
jmp 0x7e0da4
add esi, 2
call fcn.00bf243f
mov dword [esp], 0x40ca21e
call fcn.00c55e44
je 0x7e0daa
mov esi, dword [ebp + 0xc]
cmp cx, dx
test esi, esi
jmp 0x7ab945

Function at 0x8543b3
Capabilities:
Encode data using base64

Disassembly:
not dx
and ax, dx
mov word [ebp], ax
call fcn.00c2e4a0
mov ax, word [edx + ebp - 0x77a69f0]
mov dx, word [ebp + edx*2 - 0xef4d3de]
add ebp, 2
not ax
jmp 0x7ffcaf