joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e620
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x469f28
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x469f20]
sub esp, 4
test ebx, ebx
je 0x40e675
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
mov esi, eax
sub esp, 4
call edi
test esi, esi
je 0x40e66e
test eax, eax
jne 0x40e66e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x40e650
mov dword [esp], 0x469f28
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x40e9b0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x40e9d5
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x40e9e0
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x40e9d5
push esi
push ebx
mov ebx, dword [esp + 0xc]
movzx eax, word [ecx + 0x400014]
movzx esi, word [ecx + 0x400006]
sub ebx, 0x400000
lea eax, [edx + eax + 0x18]
test si, si
je 0x40ea28
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x40ea1e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x40ea2a
add ecx, 1
add eax, 0x28
cmp esi, ecx
jne 0x40ea10
xor eax, eax
pop ebx
pop esi
ret
Function at 0x401050
Capabilities:
Encode data using base64

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, eax
lea ecx, [edi + 2]
mov eax, 0xaaaaaaab
mul ecx
mov ecx, edx
shr ecx, 1
add ecx, ecx
add ecx, ecx
lea edx, [ecx + 0x47]
mov eax, 0x38e38e39
mul edx
shr edx, 4
lea eax, [ecx + edx*2]
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x40108b
push eax
call fcn.00402f85
add esp, 4
mov ecx, dword [esi + 8]
push ebx
push ebp
push ecx
call fcn.00402f8a
mov ecx, dword [esp + 0x18]
mov ebx, eax
mov eax, 0xaaaaaaab
mul edi
mov dword [esi + 4], ebx
mov esi, edx
shr esi, 1
lea edx, [esi + esi*2]
add esp, 4
sub edi, edx
xor ebp, ebp
test esi, esi
mov eax, ebx
jbe 0x401134
lea ebx, [ebx]
movzx edx, byte [ecx]
shr edx, 2
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], dl
movzx edx, byte [ecx]
movzx ebx, byte [ecx + 1]
and edx, 3
shl edx, 4
shr ebx, 4
movzx edx, byte [edx + ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 1], dl
movzx edx, byte [ecx + 1]
movzx ebx, byte [ecx + 2]
and edx, 0xf
shr ebx, 6
movzx edx, byte [ebx + edx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 2], dl
movzx edx, byte [ecx + 2]
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
add ebp, 1
sub esi, 1
add ecx, 3
cmp ebp, 0x12
mov byte [eax + 3], dl
jne 0x40112d
xor ebp, ebp
mov byte [eax + 4], 0xa
add eax, 5
jmp 0x401130
add eax, 4
test esi, esi
ja 0x4010c0
mov edx, edi
sub edx, 1
pop ebp
pop ebx
je 0x40118d
sub edx, 1
jne 0x4011ba
movzx edx, byte [ecx]
shr edx, 2
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], dl
movzx edx, byte [ecx]
movzx esi, byte [ecx + 1]
and edx, 3
shl edx, 4
shr esi, 4
movzx edx, byte [edx + esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 1], dl
movzx ecx, byte [ecx + 1]
and ecx, 0xf
movzx edx, byte [ecx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 2], dl
mov byte [eax + 3], 0x3d
add eax, 4
pop edi
mov byte [eax], 0
pop esi
ret 4
movzx edx, byte [ecx]
shr edx, 2
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], dl
movzx ecx, byte [ecx]
and ecx, 3
shl ecx, 4
movzx edx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov cl, 0x3d
mov byte [eax + 1], dl
mov byte [eax + 3], cl
mov byte [eax + 2], cl
add eax, 4
pop edi
mov byte [eax], 0
pop esi
ret 4
Function at 0x401b60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401b79
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401bb4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401bb0
lea ebx, [ebx]
cmp esi, eax
jae 0x401bb4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401ba0
cmp esi, eax
jb 0x401bba
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x401eb0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4266bb
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x430b20]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
push 0
push 0x66
mov ecx, esi
call fcn.0040c6f2
push 0x1f8
mov dword [esp + 0x1c], 0
lea eax, [esi + 0x84]
push 0
mov dword [esi], vtable.CUsbKeyDlg.0
push eax
mov dword [esi + 0x78], vtable.CTrayIcon.0
call fcn.004131d0
add esp, 0xc
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
lea ecx, [esi + 0x284]
mov byte [esp + 0x18], 1
call fcn.00402f8f
mov byte [esp + 0x18], 2
call fcn.0040426e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x401f4d
push 0x80004005
call fcn.00401270
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x28c], eax
lea edi, [esi + 0x290]
push str.C:GAJ
mov ecx, edi
mov byte [esp + 0x1c], 3
call fcn.00402e50
lea ebx, [esi + 0x294]
push str.C:GAJ
mov ecx, ebx
mov byte [esp + 0x1c], 4
call fcn.00402e50
mov byte [esp + 0x18], 5
call fcn.00404f28
call fcn.00404f28
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0
push str.C:GAJ
mov dword [esi + 0x74], eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0xa
push str.login.scc
mov ecx, edi
call fcn.00402a70
push 0xb
push str.usbkey.scc
mov ecx, ebx
call fcn.00402a70
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x40a192
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x40a1d5
call fcn.00404f28
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40a1d5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40a1f0
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00409d49
test ebx, ebx
mov esi, eax
je 0x40a1ee
test edi, edi
je 0x40a1ee
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x40a6a3
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0xe0]
sub esp, 0x160
mov eax, dword [0x430b20]
xor eax, ebp
mov dword [ebp + 0xdc], eax
cmp dword [ebp + 0xec], 0x800
mov eax, dword [ebp + 0xe8]
push esi
mov dword [ebp - 0x3c], eax
mov esi, ecx
lea eax, [ebp - 0x40]
jne 0x40a73b
push 0x428474
push 4
push eax
call fcn.004144bc
push eax
call fcn.004013d0
add esp, 0x10
push ebx
push edi
call fcn.00413ab7
mov edi, dword [eax]
call fcn.00413ab7
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00414181
add esp, 0x18
mov dword [ebp - 0x3c], eax
call fcn.00413ab7
cmp dword [eax], ebx
je 0x40a752
call fcn.00413ab7
push dword [eax]
call fcn.00404015
pop ecx
jmp 0x40a759
push 4
push eax
push 3
push dword [ebp + 0xec]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x40a6ef
jmp 0x40a7cb
call fcn.00413ab7
mov dword [eax], edi
cmp dword [ebp - 0x3c], 0xffffffff
je 0x40a7c7
cmp dword [ebp - 0x3c], esi
jae 0x40a7c7
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x80], 0x40
call fcn.004131d0
add esp, 0xc
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x40a7b9
push str.FindActCtxSectionStringA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x40a7b9
lea ecx, [ebp - 0x80]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x40a7b9
push ebx
push ebx
push esi
jmp 0x40a7bf
push ebx
push ebx
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x40a7c9
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp + 0xdc]
xor ecx, ebp
pop esi
call fcn.00412426
add ebp, 0xe0
leave
ret
Function at 0x40cdb5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x426135
call fcn.00413644
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.00404f28
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x40ce00
call fcn.00404f28
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x40ce11
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x40ce1e
or eax, 0xffffffff
jmp 0x40cf7a
mov ecx, esi
call fcn.0040c8da
mov dword [ebp - 0x14], eax
call fcn.0040774f
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x40ce9c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x40ce9c
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x40ce9c
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.00406319
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x40ce9c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x40ce9c
mov ecx, ebx
call fcn.0040da6d
test eax, eax
je 0x40ce9c
push 0
mov ecx, ebx
call fcn.0040da88
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.00409075
push dword [ebp - 0x14]
call fcn.004076a7
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.0040cbbd
xor edi, edi
cmp eax, edi
je 0x40cef9
test byte [esi + 0x3c], 0x10
je 0x40cee3
push 4
pop edi
mov ecx, esi
call fcn.0040d9ee
test ax, 0x100
je 0x40ced9
push 5
pop edi
push edi
mov ecx, esi
call fcn.0040723d
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x40cef9
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0040daca
or dword [ebp - 4], 0xffffffff
jmp 0x40cf24
cmp dword [ebp - 0x28], edi
je 0x40cf32
push 1
mov ecx, ebx
call fcn.0040da88
cmp dword [ebp - 0x2c], edi
je 0x40cf42
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x40cf5b
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x40cf5b
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0040c914
cmp dword [esi + 0x58], edi
je 0x40cf77
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.004136b0
ret
Function at 0x40f0cb
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x40f0f9
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x40f117
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0040f035
jmp 0x40f117
mov eax, dword [esi + 0x14]
test eax, eax
je 0x40f117
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0040f035
test edi, edi
mov eax, edi
jne 0x40f101
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x433b10]
test ecx, ecx
je 0x40f1da
jmp 0x40f0ca
ret 8

Function at 0x412426
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430b20]
jne 0x412430
repz ret
jmp fcn.00416555

Function at 0x417976
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 + 0x430de8]
je 0x417991
inc edi
cmp edi, 0x17
jb 0x417982
cmp edi, 0x17
jae 0x417b11
push ebp
push 3
call fcn.0041f13c
cmp eax, 1
pop ecx
je 0x417add
push 3
call fcn.0041f13c
test eax, eax
pop ecx
jne 0x4179c5
cmp dword [0x430b10], 1
je 0x417add
cmp ebx, 0xfc
je 0x417b10
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x434398
push ebp
call fcn.004144bc
add esp, 0xc
test eax, eax
je 0x4179fb
push esi
push esi
push esi
push esi
push esi
call fcn.00416acf
add esp, 0x14
push 0x104
mov esi, 0x4343b1
push esi
push 0
mov byte [0x4344b5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x417a3f
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004144bc
add esp, 0xc
test eax, eax
je 0x417a3f
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00416acf
add esp, 0x14
push esi
call fcn.004137c0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x417a84
push esi
call fcn.004137c0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4346ac
push 0x429534
sub ecx, eax
push ecx
push eax
call fcn.00414056
add esp, 0x14
test eax, eax
je 0x417a84
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00416acf
add esp, 0x14
jmp 0x417a86
xor esi, esi
push 0x429530
push ebx
push ebp
call fcn.004145a8
add esp, 0xc
test eax, eax
je 0x417aa6
push esi
push esi
push esi
push esi
push esi
call fcn.00416acf
add esp, 0x14
push dword [edi*8 + 0x430dec]
push ebx
push ebp
call fcn.004145a8
add esp, 0xc
test eax, eax
je 0x417ac8
push esi
push esi
push esi
push esi
push esi
call fcn.00416acf
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0041ef7f
add esp, 0xc
jmp 0x417b10
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x417b10
cmp ebp, 0xffffffff
je 0x417b10
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x430dec]
push dword [esi]
call fcn.004137c0
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 0x41ef7f
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00417f8f
xor ebx, ebx
cmp dword [0x43492c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x41f055
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x41f135
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x429f68
push edi
call esi
cmp eax, ebx
je 0x41f135
push eax
call fcn.00417f21
mov dword [esp], 0x429f58
push edi
mov dword [0x43492c], eax
call esi
push eax
call fcn.00417f21
mov dword [esp], 0x429f44
push edi
mov dword [0x434930], eax
call esi
push eax
call fcn.00417f21
mov dword [0x434934], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00414249
test eax, eax
pop ecx
pop ecx
je 0x41f023
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00416acf
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x41f055
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00417f21
cmp eax, ebx
pop ecx
mov dword [0x43493c], eax
je 0x41f055
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00417f21
pop ecx
mov dword [0x434938], eax
mov eax, dword [0x434938]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x41f0da
cmp dword [0x43493c], ecx
je 0x41f0da
push eax
call fcn.00417f98
push dword [0x43493c]
mov esi, eax
call fcn.00417f98
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x41f0da
cmp edi, ebx
je 0x41f0da
call esi
cmp eax, ebx
je 0x41f0a7
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41f0a7
test byte [ebp - 0x18], 1
jne 0x41f0da
lea eax, [ebp - 0x10]
push eax
call fcn.00414280
test eax, eax
pop ecx
je 0x41f0c2
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00416acf
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x41f0d1
or dword [ebp + 0x10], 0x200000
jmp 0x41f115
or dword [ebp + 0x10], 0x40000
jmp 0x41f115
mov eax, dword [0x434930]
cmp eax, dword [ebp - 8]
je 0x41f115
push eax
call fcn.00417f98
cmp eax, ebx
pop ecx
je 0x41f115
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x41f115
mov eax, dword [0x434934]
cmp eax, dword [ebp - 8]
je 0x41f115
push eax
call fcn.00417f98
cmp eax, ebx
pop ecx
je 0x41f115
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43492c]
call fcn.00417f98
cmp eax, ebx
pop ecx
je 0x41f135
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41f137
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x425803
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x430b20]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00425798
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.004131d0
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 0x425852
cmp dword [ebp - 0x1c], 5
jb 0x42586a
jmp 0x425866
cmp dword [ebp - 0x10], 1
jne 0x42586a
cmp dword [ebp - 0x1c], 4
ja 0x425866
jne 0x42586a
cmp dword [ebp - 0x18], 0
jbe 0x42586a
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x42a94c
call fcn.0042566c
test eax, eax
jge 0x42588b
mov byte [0x434a8c], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00412426
add ebp, 0x78
leave
ret
Function at 0x14371fd
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp + 0xc]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
cmp edx, dword [ecx + 0xc]
jb 0x1437237
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0x10]
cmp dword [ebp + 8], ecx
jb 0x143725c
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 6]
cmp dword [ebp - 8], ecx
jle 0x1437248
mov eax, dword [ebp + 8]
jmp 0x1437271
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
add eax, 0x28
mov dword [ebp - 4], eax
jmp 0x143721b
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
sub edx, dword [ecx + 0xc]
mov eax, dword [ebp - 4]
add edx, dword [eax + 0x14]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x144973d
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100928f0]
xor eax, ebp
mov dword [ebp - 4], eax
xorpd xmm0, xmm0
movlpd qword [ebp - 0xc], xmm0
mov eax, dword [0x10095fa0]
or eax, dword [0x10095fa4]
jne 0x14497a4
push 0x33
call fcn.0144976a
mov eax, dword [0x10095fa0]
mov dword [ebp - 0xc], eax
mov ecx, dword [0x10095fa4]
mov dword [ebp - 8], ecx
push 0x33
call fcn.014497bc
Function at 0x14539bd
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x100928f0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
cmp dword [0x10096060], 0
jne 0x14539e0
xor eax, eax
xor edx, edx
jmp 0x1453bac
lea eax, [ebp + 0x14]
mov dword [ebp - 0x48], eax
cmp dword [ebp + 0x10], 0
jle 0x1453a0f
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp - 0x48]
add edx, 8
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax - 8]
mov dword [ebp - 0x58], ecx
mov edx, dword [eax - 4]
mov dword [ebp - 0x54], edx
jmp 0x1453a18
xorpd xmm0, xmm0
movlpd qword [ebp - 0x58], xmm0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x20], ecx
cmp dword [ebp + 0x10], 0
jle 0x1453a4d
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
mov eax, dword [ebp - 0x48]
add eax, 8
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx - 8]
mov dword [ebp - 0x68], edx
mov eax, dword [ecx - 4]
mov dword [ebp - 0x64], eax
jmp 0x1453a56
xorpd xmm0, xmm0
movlpd qword [ebp - 0x68], xmm0
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x28], edx
cmp dword [ebp + 0x10], 0
jle 0x1453a8b
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 0x48]
add ecx, 8
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [edx - 8]
mov dword [ebp - 0x60], eax
mov ecx, dword [edx - 4]
mov dword [ebp - 0x5c], ecx
jmp 0x1453a94
xorpd xmm0, xmm0
movlpd qword [ebp - 0x60], xmm0
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x38], eax
cmp dword [ebp + 0x10], 0
jle 0x1453ac9
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp - 0x48]
add edx, 8
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax - 8]
mov dword [ebp - 0x50], ecx
mov edx, dword [eax - 4]
mov dword [ebp - 0x4c], edx
jmp 0x1453ad2
xorpd xmm0, xmm0
movlpd qword [ebp - 0x50], xmm0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x40], ecx
xorpd xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov edx, dword [ebp - 0x48]
add edx, 8
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
sub eax, 8
cdq
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x10]
cdq
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], 0
xor eax, eax
mov word [ebp - 8], ax
mov word [ebp - 8], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 0xc], esp
and esp, 0xfffffff0
push 0x33
call 0x1453b2d
add dword [esp], 5
retf
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01496651
mov esp, ebp
pop ebp
ret