joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10014c64
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0xa0
mov eax, dword [0x10083304]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa8]
push ebx
mov ebx, dword [esp + 0xa8]
push ebp
push esi
mov esi, dword [esp + 0xb8]
push edi
xor edi, edi
mov dword [esp + 0x18], ebx
push ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x10014cc9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
push esi
jmp 0x10014df3
mov edx, 0x80
test esi, esi
je 0x10014ce0
test ebp, 0x400
mov eax, 0x200080
cmovne edx, eax
mov ecx, edx
mov eax, ebp
push edi
or ecx, 0x2000000
and al, 0x10
cmove ecx, edx
push ecx
push 3
push edi
push 7
push 0x88
push ebx
call dword [sym.imp.kernel32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10014cb5
lea eax, [esp + 0x78]
push eax
push ebx
call dword [sym.imp.kernel32.dll_GetFileInformationByHandle]
mov esi, eax
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esp + 0x1c], eax
test esi, esi
je 0x10014de2
push 0x18
lea eax, [esp + 0x64]
push eax
push 1
push ebx
call dword [sym.imp.kernel32.dll_GetFileInformationByHandleEx]
mov esi, eax
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esp + 0x1c], eax
test esi, esi
je 0x10014de2
mov esi, dword [esp + 0x18]
test ebp, 0x400
je 0x10014d9b
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x10]
xor edx, edx
test ecx, ecx
push 1
cmovne eax, edx
push eax
push edi
push edi
lea eax, [esp + 0x24]
push eax
xor eax, eax
test ecx, ecx
cmovne eax, ebx
test ecx, ecx
push eax
mov eax, esi
cmovne eax, edx
push eax
call fcn.100259e1
add esp, 0x1c
test eax, eax
jns 0x10014d97
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x10014dff
mov edi, dword [esp + 0x14]
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x18]
push esi
call fcn.100259e1
push dword [esp + 0x20]
call sym.glib_lite.dll_Ordinal_109
push dword [esp + 0x38]
lea eax, [esp + 0x78]
push edi
push eax
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.100259e1
add esp, 0x28
xor eax, eax
jmp 0x10014e02
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
push dword [esp + 0x1c]
mov ecx, eax
call fcn.100152e4
add esp, 4
mov dword [ecx], eax
or eax, 0xffffffff
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100319bd
add esp, 0xa0
ret
Function at 0x100199e1
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ecx
push esi
lea eax, [esp + 8]
xor esi, esi
push eax
push 1
push esi
push 0x10038770
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10019a70
push ebp
lea eax, [esp + 8]
mov dword [esp + 8], esi
push eax
push esi
push esi
push esi
mov ebp, str.TimeZoneKeyName
push ebp
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10019a65
push edi
push dword [esp + 0xc]
call sym.glib_lite.dll_Ordinal_198
mov edi, eax
pop ecx
test edi, edi
je 0x10019a5d
lea eax, [esp + 0xc]
push eax
push edi
push esi
push esi
push ebp
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10019a5d
push esi
push esi
push esi
push 0xffffffffffffffff
push edi
call sym.glib_lite.dll_Ordinal_446
add esp, 0x14
mov esi, eax
jmp 0x10019a64
push edi
call sym.glib_lite.dll_Ordinal_109
pop ecx
pop edi
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
mov eax, esi
pop esi
pop ecx
pop ecx
ret

Function at 0x1001b19d
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10083304]
xor eax, ebp
mov dword [ebp - 4], eax
push str.G_DEBUG
mov dword [ebp - 0x1c], str.gc_friendly
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], str.fatal_warnings
mov dword [ebp - 0x10], 0x18
mov dword [ebp - 0xc], str.fatal_criticals
mov dword [ebp - 8], 8
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
pop ecx
test eax, eax
je 0x1001b1f6
push 3
lea ecx, [ebp - 0x1c]
push ecx
push eax
call fcn.1001b2b4
add esp, 0xc
mov ecx, eax
and eax, 1
and ecx, 0xfffffffc
mov dword [0x10083768], eax
or dword [0x10083210], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100319bd
leave
ret

Function at 0x1001f1fc
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
lea eax, [edi + 0x74]
push eax
xor eax, eax
push eax
push edi
push dword [esp + 0x20]
push eax
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov esi, eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
test esi, esi
jne 0x1001f243
push dword [eax]
call sym.glib_lite.dll_Ordinal_364
push eax
push str.Error_creating_thread:__s.
push 0x10
push str.Glib
call sym.glib_lite.dll_Ordinal_186
add esp, 0x14
jmp 0x1001f277
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
jne 0x1001f277
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.100259e1
mov esi, eax
push esi
push str.Error_closing_thread_handle:__s.
push 0x10
push str.Glib
call sym.glib_lite.dll_Ordinal_186
push esi
call sym.glib_lite.dll_Ordinal_109
add esp, 0x18
push 0xffffffffffffffff
push dword [edi + 0x8c]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
pop edi
pop esi
ret
Function at 0x100259e1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x100259f0
pop dword [ebp - 0x38]
mov eax, 0x100259f0
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x973dec59
sub dword [ebp - 0x48], 0x48eba70e
mov dword [ebp - 0x44], 0x42f9e57
sub dword [ebp - 0x44], 0xd1fc5212
mov dword [ebp - 0x40], 0x40636fd4
add dword [ebp - 0x40], 0xbe8d45a
mov dword [ebp - 0x3c], 0x21babf4f
sub dword [ebp - 0x3c], 0x21babf4f
lea eax, [ebp - 0x48]
push eax
mov eax, 0xfec327fd
sub eax, 0xeebfd6e5
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x11be9cd5
sub dword [ebp - 0x48], 0x9d4c337f
mov dword [ebp - 0x44], 0x2375b21b
sub dword [ebp - 0x44], 0xe20950a6
mov dword [ebp - 0x40], 0x6980e081
sub dword [ebp - 0x40], 0x6117415
mov dword [ebp - 0x3c], 0x5fab317c
sub dword [ebp - 0x3c], 0x5fab317c
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0xb594c2b9
sub eax, 0xa5917155
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x3c17d
push 0
call eax
mov ecx, 0x5cb439db
sub ecx, 0x5cb3edf7
xor edx, edx
add edx, eax
mov ebx, 0x10088400
add ebx, dword [ebp - 0x38]
mov edi, 0x1dac13c5
xor dword [ebp - 0x34], 0xc4df0839
mov esi, dword [ebx]
add esi, edi
sub dword [ebp - 0x1c], 0x6317cb7b
mov dword [edx], esi
xor dword [ebp - 0x20], edx
add edx, 0x2f43a983
sub edx, 0x2f43a97f
add ebx, 0xfd425059
sub ebx, 0xfd425055
loop 0x10025b03
add eax, 0x12263
mov ebx, eax
add eax, 5
mov ecx, 0xfc13a098
add ecx, 0x13ec5f68
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x4a7f430f
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x7a3d7fcb
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x408898
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42b7a4], 0
push ebp
mov ebp, esp
push esi
push ebx
mov edx, dword [ebp + 0xc]
je 0x4088b5
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
not eax
add ebx, edx
jmp 0x4088e3
xor ecx, ecx
mov eax, ecx
mov ebx, 8
mov esi, eax
and eax, 1
neg eax
shr esi, 1
and eax, 0xedb88320
xor eax, esi
dec ebx
jne 0x4088be
mov dword [ecx*4 + 0x42b7a0], eax
inc ecx
cmp ecx, 0x100
jne 0x4088b7
jmp 0x4088a9
cmp edx, ebx
je 0x4088fc
inc edx
mov cl, al
shr eax, 8
xor cl, byte [edx - 1]
movzx ecx, cl
xor eax, dword [ecx*4 + 0x42b7a0]
jmp 0x4088e3
pop ebx
not eax
pop esi
pop ebp
ret 0xc

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
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x2d9e1705
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x380c0572
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x401020
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
add eax, eax
mov dword [ebp - 0xc], 0x58d84e99
sub edi, 0xf5
mov eax, dword [ebp - 0xc]
mov ebx, 0x1698
mov ebx, dword [ebx + 0x404980]
push 0x5874
call ebx
sub edi, dword [ebp - 0x40]
and ecx, ebp
sub dword [ebp - 0x3f], eax
mov eax, 0xc6ef3720
mov edx, eax
sub edx, eax
sub edx, 0x3f
sub esi, 0x88
mov ebx, dword [ebp - 4]
mov esi, dword [ebp + 8]
mov edx, ebx
shr edx, 5
mov ecx, ebx
shl ecx, 4
xor edx, ecx
mov ecx, eax
shr ecx, 0xb
and ecx, 3
mov edi, dword [esi + ecx*4]
mov ecx, eax
xor ecx, ebx
add edx, edi
add edx, ecx
mov ecx, dword [ebp - 8]
sub ecx, edx
mov dword [ebp - 8], ecx
add eax, 0x61c88647
sub edi, 0x1e
mov esi, eax
add edx, eax
mov edi, dword [ebp + 8]
mov edx, ecx
shr edx, 5
mov esi, ecx
shl esi, 4
xor edx, esi
mov esi, eax
and esi, 3
add edx, dword [edi + esi*4]
mov esi, eax
xor esi, ecx
add edx, esi
sub ebx, edx
test eax, eax
mov dword [ebp - 4], ebx
jne 0x401077
mov esi, 0x41d0
mov esi, dword [esi + 0x401e48]
push 0x5fae
call esi
add dword [ebp - 0x4e], eax
add dword [ebp - 0x59], eax
add esi, ecx
mov esi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
pop edi
mov ecx, ebx
pop esi
mov dword [eax], ecx
mov dword [eax + 4], edx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402769
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x419bf4], ebx
push esi
push edi
jne 0x4027e9
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x402824
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x419bf4], eax
je 0x402824
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x419bf8], eax
call esi
cmp dword [0x419a98], 2
mov dword [0x419bfc], eax
jne 0x4027e9
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x419c04], eax
je 0x4027e9
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x419c00], eax
mov eax, dword [0x419c00]
test eax, eax
je 0x40282e
call eax
test eax, eax
je 0x402815
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x419c04]
test eax, eax
je 0x402815
test byte [ebp - 8], 1
jne 0x40282e
cmp dword [0x419aa4], 4
jb 0x402828
or byte [ebp + 0x12], 0x20
jmp 0x40284d
xor eax, eax
jmp 0x40285d
or byte [ebp + 0x12], 4
jmp 0x40284d
mov eax, dword [0x419bf8]
test eax, eax
je 0x40284d
call eax
mov ebx, eax
test ebx, ebx
je 0x40284d
mov eax, dword [0x419bfc]
test eax, eax
je 0x40284d
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x419bf4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40452a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x404558
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x40455f
cmp ebx, dword [eax + 4]
jae 0x40455f
xor eax, eax
jmp 0x40474f
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x404570
xor eax, eax
inc eax
jmp 0x40474e
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x404586
cmp ecx, edx
jae 0x4046cb
cmp dword [eax + 4], 0
je 0x40458f
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x404577
cmp dword [ebp + 8], 0
je 0x4045b1
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x4046cb
cmp eax, esi
jae 0x4046cb
mov eax, dword [0x419c10]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x4045d6
cmp dword [esi*4 + 0x419c18], edi
je 0x4046cf
inc esi
cmp esi, eax
jl 0x4045c4
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40474b
cmp dword [ebp - 8], 0x1000000
jne 0x40474b
test byte [ebp - 0xc], 0xcc
je 0x404654
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x40474b
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40474b
cmp word [eax + 0x18], 0x10b
jne 0x40474b
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x40474b
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x404654
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x404654
test byte [ecx + 0x27], 0x80
jne 0x4046cb
push 1
push 0x419c58
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x404568
mov ecx, dword [0x419c10]
test ecx, ecx
mov edx, ecx
jle 0x404688
lea eax, [ecx*4 + 0x419c14]
cmp dword [eax], edi
je 0x404688
dec edx
sub eax, 4
test edx, edx
jg 0x40467c
test edx, edx
jne 0x4046b9
push 0xf
pop ebx
cmp ecx, ebx
jg 0x404695
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x4046ad
lea eax, [edx*4 + 0x419c18]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x40469b
cmp ecx, 0x10
jge 0x4046b9
inc ecx
mov dword [0x419c10], ecx
push 0
push 0x419c58
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x404568
xor eax, eax
jmp 0x40474e
test esi, esi
jle 0x404568
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x419c58
call ebx
test eax, eax
jne 0x404568
cmp dword [esi*4 + 0x419c18], edi
je 0x404725
mov eax, dword [0x419c10]
lea esi, [eax - 1]
test esi, esi
jl 0x404713
cmp dword [esi*4 + 0x419c18], edi
je 0x40470f
dec esi
jns 0x404703
test esi, esi
jge 0x404723
cmp eax, 0x10
jge 0x40471e
inc eax
mov dword [0x419c10], eax
lea esi, [eax - 1]
jmp 0x404725
je 0x40473d
xor ecx, ecx
test esi, esi
jl 0x40473d
lea eax, [ecx*4 + 0x419c18]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x40472b
push 0
push 0x419c58
call ebx
jmp 0x404568
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40563c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00402670
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4056d7
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x419a98]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x4056d7
cmp eax, 1
je 0x4056f8
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4056d7
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x4056a4
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x4056d3
xor eax, eax
inc eax
jmp 0x405717
cmp edi, eax
jae 0x4056db
xor eax, eax
jmp 0x405717
cmp eax, esi
jae 0x4056e2
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x419a98]
jmp 0x4056fb
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10002003
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x10008fa0]
xor eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 4], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x10008ad0]
je 0x10002030
inc eax
cmp eax, 0x12
jb 0x10002021
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x10008ad0]
jne 0x10002164
mov eax, dword [0x1000936c]
cmp eax, 1
je 0x1000213f
cmp eax, edx
jne 0x10002060
cmp dword [0x10009370], 1
je 0x1000213f
cmp ecx, 0xfc
je 0x10002164
push 0x104
lea eax, [ebp - 0x10c]
push eax
push edx
mov byte [ebp - 8], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10002099
lea eax, [ebp - 0x10c]
push str._program_name_unknown_
push eax
call fcn.10003810
pop ecx
pop ecx
lea eax, [ebp - 0x10c]
push eax
lea edi, [ebp - 0x10c]
call fcn.10003910
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x100020db
lea eax, [ebp - 0x10c]
push eax
call fcn.10003910
mov edi, eax
lea eax, [ebp - 0x10c]
sub eax, 0x3b
push 3
add edi, eax
push 0x100069d8
push edi
call fcn.10003de0
add esp, 0x10
push edi
call fcn.10003910
push dword [esi + 0x10008ad4]
mov ebx, eax
call fcn.10003910
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.10001fc0
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.10003810
push edi
push ebx
call fcn.10003820
push 0x100069b8
push ebx
call fcn.10003820
push dword [esi + 0x10008ad4]
push ebx
call fcn.10003820
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.10003cdd
add esp, 0x2c
jmp 0x10002164
push edx
lea eax, [ebp + 8]
push eax
lea esi, [esi + 0x10008ad4]
push dword [esi]
call fcn.10003910
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x118]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.10003f35
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45cc87
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov eax, dword [0x11fffffc]
mov byte [ebp - 0x35e], 0x3c
invalid
invalid
invalid

Function at 0x45d0f8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
je 0x45deb9
push 5
mov eax, dword [ebp - 0x378]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 0x1d]
push eax

Function at 0x45d6df
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmp dword [ebp - 0x6fc], 0
jne 0x45d8a1
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 4
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0xb8
mov byte [ebp - 0x777], 0xc1
mov byte [ebp - 0x776], 0xa7
mov byte [ebp - 0x775], 0xab
mov byte [ebp - 0x774], 0x89
mov byte [ebp - 0x773], 0x94
mov byte [ebp - 0x772], 0x9c
mov byte [ebp - 0x771], 0x89
mov byte [ebp - 0x770], 0x9a
mov byte [ebp - 0x76f], 0x96
mov byte [ebp - 0x76e], 0xdb
mov byte [ebp - 0x76d], 0xbd
mov byte [ebp - 0x76c], 0x92
mov byte [ebp - 0x76b], 0x97
mov byte [ebp - 0x76a], 0x9e
mov byte [ebp - 0x769], 0x88
mov byte [ebp - 0x768], 0xa7
mov byte [ebp - 0x767], 0xb8
invalid
invalid
invalid
clc

Function at 0x45eb37
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x474efc]
jne 0x45eb41
repz ret
jmp fcn.00462309
Function at 0x45f058
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00453388
xor ebx, ebx
cmp dword [0x4772c8], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x45f12e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x45f20e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4696dc
push edi
call esi
cmp eax, ebx
je 0x45f20e
push eax
call fcn.0045331a
mov dword [esp], 0x4696cc
push edi
mov dword [0x4772c8], eax
call esi
push eax
call fcn.0045331a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4772cc], eax
call esi
push eax
call fcn.0045331a
mov dword [0x4772d0], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0044d50e
test eax, eax
pop ecx
pop ecx
je 0x45f0fc
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00453911
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x45f12e
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0045331a
cmp eax, ebx
pop ecx
mov dword [0x4772d8], eax
je 0x45f12e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0045331a
pop ecx
mov dword [0x4772d4], eax
mov eax, dword [0x4772d4]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x45f1b3
cmp dword [0x4772d8], ecx
je 0x45f1b3
push eax
call fcn.00453391
push dword [0x4772d8]
mov esi, eax
call fcn.00453391
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x45f1b3
cmp edi, ebx
je 0x45f1b3
call esi
cmp eax, ebx
je 0x45f180
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45f180
test byte [ebp - 0x18], 1
jne 0x45f1b3
lea eax, [ebp - 0x10]
push eax
call fcn.0044d545
test eax, eax
pop ecx
je 0x45f19b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00453911
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x45f1aa
or dword [ebp + 0x10], 0x200000
jmp 0x45f1ee
or dword [ebp + 0x10], 0x40000
jmp 0x45f1ee
mov eax, dword [0x4772cc]
cmp eax, dword [ebp - 8]
je 0x45f1ee
push eax
call fcn.00453391
cmp eax, ebx
pop ecx
je 0x45f1ee
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x45f1ee
mov eax, dword [0x4772d0]
cmp eax, dword [ebp - 8]
je 0x45f1ee
push eax
call fcn.00453391
cmp eax, ebx
pop ecx
je 0x45f1ee
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4772c8]
call fcn.00453391
cmp eax, ebx
pop ecx
je 0x45f20e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x45f210
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret