joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427c99
Capabilities:
Connect network resource
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
push ebx
push esi
xor ebx, ebx
push edi
lea ecx, [ebp - 0x24]
mov esi, eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call fcn.0040da90
lea ecx, [ebp - 0x18]
call fcn.0040da90
lea ecx, [ebp - 0x30]
call fcn.0040da90
push str.SOFTWAREClasses_
lea eax, [ebp - 0x24]
call fcn.0040dbbe
push dword [ebp + 8]
lea eax, [ebp - 0x24]
call fcn.0040dc7c
push str.CLSID
lea eax, [ebp - 0x24]
call fcn.0040dc7c
push 0x468eee
lea eax, [ebp - 0x18]
call fcn.0040dbbe
cmp esi, ebx
je 0x427d1e
cmp byte [esi], 0x5c
je 0x427d1e
cmp byte [esi + 1], 0x5c
je 0x427d1e
push 0x46b984
lea eax, [ebp - 0x18]
call fcn.0040dbbe
push esi
lea eax, [ebp - 0x18]
call fcn.0040dc7c
cmp dword [ebp + 0x10], ebx
je 0x427d70
push 0x20
lea eax, [ebp - 0x50]
push ebx
push eax
call fcn.0044fdd0
mov dword [ebp - 0x4c], ebx
add esp, 0xc
lea ebx, [ebp - 0x18]
lea eax, [ebp - 0x30]
call fcn.0040db95
push str.IPC_
lea eax, [ebp - 0x30]
call fcn.0040dc7c
mov eax, dword [ebp - 0x30]
push 0
push dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x50]
push eax
call sub.MPR.dll_WNetAddConnection2A
mov esi, eax
test esi, esi
jne 0x427e07
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryA]
mov esi, eax
cmp esi, ebx
jne 0x427e07
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push dword [ebp - 0x24]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
cmp esi, ebx
jne 0x427e02
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x158]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 8]
mov dword [ebp - 0xc], 0xff
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
cmp esi, ebx
jne 0x427dfd
mov eax, dword [ebp - 0xc]
mov byte [ebp + eax - 0x158], bl
lea eax, [ebp - 0x158]
push eax
or eax, 0xffffffff
call fcn.0040d688
pop ecx
push dword [ebp + 0xc]
mov ebx, eax
push ebx
call dword [sym.imp.ole32.dll_CLSIDFromString]
push ebx
mov esi, eax
call fcn.0044d0f0
pop ecx
push dword [ebp - 8]
call edi
push dword [ebp - 4]
call edi
push dword [ebp - 0x30]
call fcn.0044d0f0
push dword [ebp - 0x18]
call fcn.0044d0f0
push dword [ebp - 0x24]
call fcn.0044d0f0
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x430909
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
push str.open
lea esi, [ebp - 0x14]
call fcn.0040daad
xor ebx, ebx
push 0x3c
xor esi, esi
lea eax, [ebp - 0x5c]
push ebx
inc esi
push eax
xor edi, edi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], esi
call fcn.0044fdd0
add esp, 0xc
cmp dword [ebp + 0x14], 2
jb 0x430971
mov ecx, dword [ebp + 0x10]
mov eax, esi
call fcn.0040545c
mov esi, eax
call fcn.0040f2f1
cmp byte [eax], bl
je 0x430971
mov ecx, dword [ebp + 0x10]
xor eax, eax
inc eax
call fcn.0040545c
mov esi, eax
call fcn.0040f2f1
push eax
call fcn.0040ceec
pop ecx
mov edi, eax
cmp dword [ebp + 0x14], 3
jb 0x430993
mov ecx, dword [ebp + 0x10]
push 2
pop eax
call fcn.0040545c
mov esi, eax
call fcn.0040f2f1
push eax
call fcn.0040ceec
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 4
jb 0x4309cd
mov ecx, dword [ebp + 0x10]
push 3
pop eax
call fcn.0040545c
mov esi, eax
call fcn.0040f2f1
cmp byte [eax], bl
je 0x4309cd
mov ecx, dword [ebp + 0x10]
push 3
pop eax
call fcn.0040545c
mov esi, eax
call fcn.0040f313
mov ebx, eax
lea eax, [ebp - 0x14]
call fcn.0040db95
xor ebx, ebx
cmp dword [ebp + 0x14], 5
jb 0x4309e9
mov ecx, dword [ebp + 0x10]
push 4
pop eax
call fcn.0040545c
call fcn.0040f3c3
movzx eax, ax
mov dword [ebp - 8], eax
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.0044fdd0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], 0x40
mov dword [ebp - 0x54], ebx
call fcn.0040545c
mov esi, eax
call fcn.0040f2f1
mov esi, dword [ebp - 4]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
cmp edi, ebx
mov dword [ebp + 0x10], eax
je 0x430a48
push edi
call fcn.0044d0f0
pop ecx
cmp esi, ebx
je 0x430a53
push esi
call fcn.0044d0f0
pop ecx
cmp dword [ebp + 0x10], ebx
jne 0x430ab1
mov esi, dword [ebp + 8]
cmp byte [esi + 0x198], 1
jne 0x430a9b
push 0xffffffffffffffff
lea eax, [ebp - 0x20]
push eax
call fcn.0041881a
push dword [eax]
mov ebx, esi
push 0x87
call fcn.00418654
push dword [ebp - 0x20]
call fcn.0044d0f0
xor ebx, ebx
pop ecx
inc ebx
push dword [ebp - 0x14]
call fcn.0044d0f0
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x14
xor ecx, ecx
push ebx
inc ecx
mov eax, esi
call fcn.00419e1c
mov esi, dword [ebp + 0x18]
push ebx
call fcn.0040f86e
jmp 0x430a89
cmp byte [ebp + 0xc], bl
je 0x430ac4
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6d8], eax
jmp 0x430a89
mov esi, dword [ebp + 0x18]
push 1
call fcn.0040f86e
cmp dword [ebp - 0x24], ebx
je 0x430a89
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x430a89
Function at 0x4338de
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push edi
xor ebx, ebx
lea eax, [esp + 0x18]
push eax
push ebx
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push ebx
push dword [ebp + 8]
mov dword [esp + 0x30], 0xff
call esi
mov edi, 0x103
jmp 0x433999
xor eax, eax
cmp byte [0x47d650], bl
je 0x43392b
mov eax, 0x100
lea ecx, [esp + 0x14]
push ecx
or eax, 0x20019
push eax
push ebx
lea eax, [esp + 0x2c]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4339a5
push dword [esp + 0x14]
call fcn.004338de
pop ecx
push dword [esp + 0x14]
mov byte [esp + 0x13], al
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0xf], bl
je 0x4339a5
lea eax, [esp + 0x20]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x4339a5
lea eax, [esp + 0x18]
push eax
push ebx
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push ebx
push dword [ebp + 8]
mov dword [esp + 0x30], 0xff
call esi
cmp eax, edi
jne 0x43391c
mov al, 1
jmp 0x4339a7
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x434390
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp edi, 0xffffffff
je 0x434418
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileType]
cmp eax, 1
jne 0x434418
mov esi, dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push eax
xor ebx, ebx
push ebx
push ebx
push edi
call esi
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 4], eax
je 0x4343ec
cmp dword [ebp + 0x10], ebx
jbe 0x4343ec
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x4343e4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
jmp 0x43441a
push ebx
push ebx
push dword [ebp - 4]
push edi
call esi
cmp dword [ebp + 0x18], ebx
je 0x43440c
push 2
push ebx
push ebx
push edi
call esi
push ebx
push ebx
push dword [ebp - 4]
mov edi, eax
push dword [ebp + 8]
call esi
sub edi, dword [ebp - 4]
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
push ebx
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
inc eax
jmp 0x434422
push 6
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x439a7c
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
push edi
push 0x44
xor ebx, ebx
push ebx
mov edi, 0x47f2f8
push edi
call fcn.0044fdd0
push 0x10
push ebx
mov esi, 0x47f2e8
push esi
call fcn.0044fdd0
add esp, 0x18
push esi
push edi
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
push dword [esp + 0x30]
xor eax, eax
inc eax
push ebx
mov dword [0x47f2f8], 0x44
mov dword [0x47f324], eax
mov word [0x47f328], ax
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
pop edi
pop esi
pop ebx
je 0x439adf
push dword [0x47f2e8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
ret 4
Function at 0x43a061
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, eax
mov esi, dword [edi]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0xc]
mov dword [edi + 0x4134], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0x4138], eax
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
lea eax, [edi + 0x413c]
cmp ecx, dword [eax]
jne 0x43a0ad
cmp edx, dword [edi + 0x4140]
je 0x43a0c7
cmp dword [ebp + 0xc], 1
mov dword [eax], ecx
mov dword [edi + 0x4140], edx
jne 0x43a0c7
push edx
push ecx
push 0xfffffffffffffff5
push dword [ebp + 8]
call fcn.0043997b
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 1
call esi
mov ebx, 0x8000
test bx, ax
jne 0x43a0ee
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test bx, ax
jne 0x43a0ee
and dword [ebp - 4], 0
jmp 0x43a0f5
mov dword [ebp - 4], 1
push 2
call esi
test bx, ax
jne 0x43a10f
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test bx, ax
jne 0x43a10f
xor ebx, ebx
jmp 0x43a112
xor ebx, ebx
inc ebx
mov esi, dword [ebp - 4]
cmp esi, dword [edi + 0x4144]
je 0x43a179
cmp dword [ebp + 0xc], 1
jne 0x43a179
cmp byte [edi + 0x4170], 0
je 0x43a17f
test esi, esi
push dword [ebp - 8]
push dword [ebp - 0xc]
je 0x43a13a
push 0xfffffffffffffff9
jmp 0x43a16a
push 0xfffffffffffffff8
push dword [ebp + 8]
call fcn.0043997b
cmp byte [edi + 0x414c], 0
je 0x43a172
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x1000000
push dword [ebp - 8]
push dword [ebp - 0xc]
je 0x43a168
push 0xfffffffffffffffa
jmp 0x43a16a
push 0xfffffffffffffff4
push dword [ebp + 8]
call fcn.0043997b
mov byte [edi + 0x414c], 0
cmp dword [ebp + 0xc], 0
je 0x43a185
mov dword [edi + 0x4144], esi
cmp ebx, dword [edi + 0x4148]
je 0x43a1b3
cmp dword [ebp + 0xc], 1
jne 0x43a1b3
test ebx, ebx
push dword [ebp - 8]
push dword [ebp - 0xc]
je 0x43a1a9
push 0xfffffffffffffff7
push dword [ebp + 8]
call fcn.0043997b
jmp 0x43a1b9
push 0xfffffffffffffff6
push dword [ebp + 8]
call fcn.0043997b
cmp dword [ebp + 0xc], 0
je 0x43a1bf
mov dword [edi + 0x4148], ebx
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x43ef12
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
xor ebx, ebx
cmp byte [eax], bl
push esi
push edi
mov dword [ebp - 0xc], ebx
je 0x43f019
push ebx
push ebx
push 3
push ebx
push ebx
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x43ef48
xor eax, eax
jmp 0x43f045
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
push eax
push 2
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
push ebx
lea ecx, [ebp - 0x18]
push ecx
push dword [ebp - 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [ebp - 0x10]
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
lea eax, [ebp - 0xc]
push eax
push 0x466120
push ebx
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x43ef41
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
call dword [ecx + 0xc]
lea eax, [ebp - 0x30]
push eax
push 0x18
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
cmp edx, ebx
mov eax, dword [ebp + 0x10]
jne 0x43eff0
cmp dword [eax], ebx
jne 0x43eff0
mov edx, dword [ebp - 0x2c]
mov dword [ecx], edx
mov edx, dword [ebp - 0x28]
mov dword [eax], edx
jmp 0x43eff8
mov dword [ebp - 0x2c], edx
mov edx, dword [eax]
mov dword [ebp - 0x28], edx
push 0x2000
push dword [eax]
push dword [ecx]
push ebx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_CopyImage]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x43f01c
mov dword [ebp - 8], ebx
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x44]
cmp eax, ebx
je 0x43f02d
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 8]
push eax
push ebx
mov dword [esi + 0x44], eax
mov esi, dword [esi]
push 0x172
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x43f786
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi + 0x4158]
cmp eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push edi
je 0x43f80e
push 3
pop eax
cmp dword [esi + 0x14], eax
mov dword [ebp - 4], eax
jl 0x43f805
lea edi, [esi + 0x64]
mov eax, dword [edi]
test eax, eax
je 0x43f7f7
cmp byte [eax + 0x70], 0xb
je 0x43f7f7
mov cl, byte [eax + 0x73]
movzx edx, cl
cmp edx, dword [esi + 0x4158]
je 0x43f7d9
cmp byte [esi + 0x4160], 0
je 0x43f7f7
cmp cl, 0xff
je 0x43f7f7
cmp byte [eax + 0x70], 0xa
je 0x43f7f7
push 0
push dword [eax]
call ebx
mov eax, dword [edi]
test byte [eax + 0x72], 0x40
je 0x43f7f7
cmp byte [eax + 0x70], 0x1a
jne 0x43f7f7
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_EnableWindow]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add edi, 4
cmp eax, dword [esi + 0x14]
jle 0x43f7ab
mov eax, dword [ebp + 8]
mov dword [esi + 0x4158], eax
push 3
pop eax
cmp dword [esi + 0x14], eax
mov dword [ebp - 4], eax
jl 0x43f86e
lea edi, [esi + 0x64]
mov eax, dword [edi]
test eax, eax
je 0x43f860
cmp byte [eax + 0x70], 0xb
je 0x43f860
movzx ecx, byte [eax + 0x73]
cmp ecx, dword [esi + 0x4158]
jne 0x43f860
test byte [eax + 0x72], 0x20
jne 0x43f860
push 0
push dword [eax]
call ebx
mov eax, dword [edi]
push 4
push dword [eax]
call ebx
mov eax, dword [edi]
test byte [eax + 0x72], 0x40
je 0x43f860
cmp byte [eax + 0x70], 0x1a
jne 0x43f860
push 1
push dword [eax]
call dword [sym.imp.USER32.dll_EnableWindow]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add edi, 4
cmp eax, dword [esi + 0x14]
jle 0x43f81c
push 0
push dword [ebp + 8]
push 0x130c
push dword [esi + 0x4150]
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop ebx
leave
ret 4
Function at 0x443c51
Capabilities:
Parse credit card information

Disassembly:
jmp 0x443cea
cmp ecx, 0x4f
jne 0x443c68
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax + 2]
jmp 0x443ce8
cmp ecx, 0x5e
jne 0x443c84
xor ecx, ecx
mov ch, byte [eax + 3]
mov cl, byte [eax + 4]
cmp ecx, dword [esp + 8]
je 0x443cf7
movzx ecx, byte [0x4657b6]
jmp 0x443ce8
cmp ecx, 0x38
jl 0x443cb1
cmp ecx, 0x3d
jle 0x443ca2
cmp ecx, 0x40
jle 0x443c9d
cmp ecx, 0x43
jle 0x443ca2
cmp ecx, 0x44
jne 0x443cb1
mov dl, byte [eax + 3]
jmp 0x443ca5
mov dl, byte [eax + 1]
cmp dl, 0xf
je 0x443caf
cmp dl, 0xe
jne 0x443cb1
inc eax
inc eax
movzx edx, byte [ecx + 0x465758]
add eax, edx
cmp dword [esp + 4], 0
je 0x443cea
cmp ecx, 0x1b
jl 0x443cea
cmp ecx, 0x1c
jle 0x443cd5
cmp ecx, 0x1d
jle 0x443cea
cmp ecx, 0x2a
jg 0x443cea
movzx ecx, byte [eax - 1]
cmp cl, 0xc0
jb 0x443cea
and ecx, 0x3f
movzx ecx, byte [ecx + 0x465818]
add eax, ecx
movzx ecx, byte [eax]
test ecx, ecx
jne 0x443c56
xor eax, eax
ret
Function at 0x44ff01
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x44ff3e
cmp dword [ebp + 0x14], edi
je 0x44ff3e
cmp ecx, edi
jne 0x44ff45
call fcn.0045393c
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.004538dd
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x44ff59
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x44ff7a
cmp ebx, 0xffffffff
je 0x44ff69
push ebx
push edi
push ecx
call fcn.0044fdd0
add esp, 0xc
cmp esi, edi
je 0x44ff26
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x44ff26
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x44ff96
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x44ff9d
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x45008e
test word [esi + 0xc], 0x10c
je 0x44fff1
mov eax, dword [esi + 4]
test eax, eax
je 0x44fff1
jl 0x4500ef
cmp ebx, eax
mov edi, ebx
jb 0x44ffc2
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x450096
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00457a48
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x450086
cmp ebx, dword [ebp - 0xc]
jb 0x45005e
cmp dword [ebp - 0xc], 0
je 0x45001b
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x450010
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x450017
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x450026
mov eax, SysReAllocString
cmp ebx, eax
ja 0x450026
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x4500c2
push eax
push dword [ebp - 8]
push esi
call fcn.00450f48
pop ecx
push eax
call fcn.0045794b
add esp, 0xc
test eax, eax
je 0x450101
cmp eax, 0xffffffff
je 0x4500ef
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x450086
push esi
call fcn.0045726a
cmp eax, 0xffffffff
pop ecx
je 0x4500f3
cmp dword [ebp - 4], 0
je 0x4500c2
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x44ffa5
mov eax, dword [ebp + 0x14]
jmp 0x44ff40
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x4500ad
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0044fdd0
add esp, 0xc
call fcn.0045393c
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x44ff36
cmp dword [ebp + 0xc], 0xffffffff
je 0x4500d8
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.0044fdd0
add esp, 0xc
call fcn.0045393c
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x44ff36
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x44ff40
or dword [esi + 0xc], 0x10
jmp 0x4500f3
Function at 0x453aa3
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 + 0x470c60]
je 0x453abe
inc edi
cmp edi, 0x17
jb 0x453aaf
cmp edi, 0x17
jae 0x453c3e
push ebp
push 3
call fcn.0045e0e3
cmp eax, 1
pop ecx
je 0x453c0a
push 3
call fcn.0045e0e3
test eax, eax
pop ecx
jne 0x453af2
cmp dword [0x470498], 1
je 0x453c0a
cmp ebx, 0xfc
je 0x453c3d
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x472b30
push ebp
call fcn.0045de49
add esp, 0xc
test eax, eax
je 0x453b28
push esi
push esi
push esi
push esi
push esi
call fcn.004537e1
add esp, 0x14
push 0x104
mov esi, 0x472b49
push esi
push 0
mov byte [0x472c4d], 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x453b6c
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0045de49
add esp, 0xc
test eax, eax
je 0x453b6c
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004537e1
add esp, 0x14
push esi
call fcn.0044d720
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x453bb1
push esi
call fcn.0044d720
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x472e44
push 0x466898
sub ecx, eax
push ecx
push eax
call fcn.0045dd96
add esp, 0x14
test eax, eax
je 0x453bb1
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004537e1
add esp, 0x14
jmp 0x453bb3
xor esi, esi
push 0x46b250
push ebx
push ebp
call fcn.0045dcd8
add esp, 0xc
test eax, eax
je 0x453bd3
push esi
push esi
push esi
push esi
push esi
call fcn.004537e1
add esp, 0x14
push dword [edi*8 + 0x470c64]
push ebx
push ebp
call fcn.0045dcd8
add esp, 0xc
test eax, eax
je 0x453bf5
push esi
push esi
push esi
push esi
push esi
call fcn.004537e1
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0045df26
add esp, 0xc
jmp 0x453c3d
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x453c3d
cmp ebp, 0xffffffff
je 0x453c3d
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x470c64]
push dword [esi]
call fcn.0044d720
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 0x4590aa
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x470f04]
jne 0x4590b4
repz ret
jmp fcn.00460a17

Function at 0x45df26
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00453258
xor ebx, ebx
cmp dword [0x4731bc], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x45dffc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x45e0dc
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x46864c
push edi
call esi
cmp eax, ebx
je 0x45e0dc
push eax
call fcn.004531ea
mov dword [esp], 0x46863c
push edi
mov dword [0x4731bc], eax
call esi
push eax
call fcn.004531ea
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4731c0], eax
call esi
push eax
call fcn.004531ea
mov dword [0x4731c4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0044d19e
test eax, eax
pop ecx
pop ecx
je 0x45dfca
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004537e1
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x45dffc
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004531ea
cmp eax, ebx
pop ecx
mov dword [0x4731cc], eax
je 0x45dffc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004531ea
pop ecx
mov dword [0x4731c8], eax
mov eax, dword [0x4731c8]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x45e081
cmp dword [0x4731cc], ecx
je 0x45e081
push eax
call fcn.00453261
push dword [0x4731cc]
mov esi, eax
call fcn.00453261
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x45e081
cmp edi, ebx
je 0x45e081
call esi
cmp eax, ebx
je 0x45e04e
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45e04e
test byte [ebp - 0x18], 1
jne 0x45e081
lea eax, [ebp - 0x10]
push eax
call fcn.0044d1d5
test eax, eax
pop ecx
je 0x45e069
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004537e1
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x45e078
or dword [ebp + 0x10], 0x200000
jmp 0x45e0bc
or dword [ebp + 0x10], 0x40000
jmp 0x45e0bc
mov eax, dword [0x4731c0]
cmp eax, dword [ebp - 8]
je 0x45e0bc
push eax
call fcn.00453261
cmp eax, ebx
pop ecx
je 0x45e0bc
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x45e0bc
mov eax, dword [0x4731c4]
cmp eax, dword [ebp - 8]
je 0x45e0bc
push eax
call fcn.00453261
cmp eax, ebx
pop ecx
je 0x45e0bc
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4731bc]
call fcn.00453261
cmp eax, ebx
pop ecx
je 0x45e0dc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x45e0de
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret