joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4158a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x48c069
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
push esi
mov esi, ecx
push 0
push 0
lea ecx, [esp + 0x230]
mov dword [esp + 0x228], 0
mov byte [esp + 0xf], 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.MSVCRT.dll__access]
add esp, 8
cmp eax, 0xffffffff
jne 0x415918
mov eax, dword [esp + 0x22c]
lea ecx, [esp + 0x228]
mov dword [esp + 0x220], 0xffffffff
mov dword [eax], 0
call sub.MFC42.DLL_CString::CString
xor al, al
jmp 0x415ab1
mov ecx, esi
call fcn.004157a0
cmp eax, 4
jne 0x415a91
mov ecx, dword [esp + 0x22c]
push ebx
mov ebx, 1
push edi
mov dword [ecx], ebx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x18]
push 0x104
push edx
mov byte [esp + 0x230], bl
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov esi, eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeLower
lea ecx, [esp + 0x230]
call sub.MFC42.DLL_CString::MakeLower
test esi, esi
jbe 0x415a7c
push 0x5c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReverseFind
test eax, eax
jle 0x415a7c
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x22c], 2
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x14]
mov byte [esp + 0x228], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x230]
mov ecx, dword [esp + 0x10]
mov al, byte [edx]
mov dl, byte [ecx]
cmp al, dl
jne 0x415a78
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11d]
mov byte [esp + 0x11c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
lea edx, [esp + 0x120]
push 5
push edx
push 0
stosb byte es:[edi], al
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [esp + 0x11c]
lea ecx, [esp + 0x14]
push eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x228], 3
call sub.MFC42.DLL_CString::MakeLower
push 0
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [esp + 0x234]
call sub.MFC42.DLL_CString::Find_1
test eax, eax
jl 0x415a66
mov byte [esp + 0xf], bl
lea ecx, [esp + 0x14]
mov byte [esp + 0x228], bl
call sub.MFC42.DLL_CString::CString
jmp 0x415a7c
mov byte [esp + 0xf], bl
lea ecx, [esp + 0x10]
mov byte [esp + 0x228], 0
call sub.MFC42.DLL_CString::CString
pop edi
pop ebx
jmp 0x415a96
mov byte [esp + 7], 1
lea ecx, [esp + 0x228]
mov dword [esp + 0x220], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 7]
mov ecx, dword [esp + 0x218]
pop esi
mov dword fs:[0], ecx
add esp, 0x220
ret 8
Function at 0x415ad0
Capabilities:
Create directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x48c08b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push esi
mov esi, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
push 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push 5
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
push 0x4a1ef0
lea ecx, [esp + 0xc]
mov dword [esp + 0x11c], 0
call sub.MFC42.DLL_CString::operator_2
push 0
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::GetBuffer
mov edi, dword [sym.imp.MSVCRT.dll__mkdir]
push eax
call edi
add esp, 4
lea ecx, [esp + 8]
push 0x4a21d4
call sub.MFC42.DLL_CString::operator_2
push 0
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call edi
add esp, 4
lea edx, [esp + 8]
lea ecx, [esi + 0x40]
push edx
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 8]
mov dword [esp + 0x118], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x110]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x114
ret
Function at 0x416200
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48c1f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0xc]
mov dword [esp + 0x28], 0
push eax
call fcn.0045e700
add esp, 4
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x4a1fa4
mov byte [esp + 0x34], 1
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x34], 2
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4a20c0
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x4a20b0
push edx
push ecx
mov byte [esp + 0x44], 3
call sub.MFC42.DLL_operator_2
lea eax, [esp + 0x18]
mov ecx, esi
push eax
mov byte [esp + 0x3c], 1
call fcn.00416030
lea ecx, [esp + 0xc]
push 0x4a2098
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator_2
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
push eax
push ecx
lea ecx, [esi + 0xd0]
mov byte [esp + 0x30], 4
call fcn.0040fcd0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4a1fa4
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x34], 5
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4a230c
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esp + 0x1c]
mov edx, esp
mov dword [esp + 0x24], esp
push 0x4a20b0
push eax
push edx
mov byte [esp + 0x44], 6
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 4
push ecx
mov ecx, esi
call fcn.00416030
mov edx, dword [esp + 8]
lea edi, [esi + 0x890]
push edx
mov ecx, edi
call fcn.0041ee70
mov ecx, edi
call fcn.0041f080
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4a1fa4
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x34], 7
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4a2300
call sub.MFC42.DLL_CString::CString_2
push ecx
lea ecx, [esp + 0x1c]
mov eax, esp
mov dword [esp + 0x24], esp
push 0x4a20b0
push ecx
push eax
mov byte [esp + 0x44], 8
call sub.MFC42.DLL_operator_2
lea edx, [esp + 0x18]
mov ecx, esi
push edx
mov byte [esp + 0x3c], 4
call fcn.00416030
mov eax, dword [esp + 8]
add esi, 0x900
push eax
mov ecx, esi
call fcn.0041ee70
mov ecx, esi
call fcn.0041f080
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x24
ret
Function at 0x41bc30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48c6ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov al, byte [esp + 0x14]
push ebx
push ebp
mov ebp, ecx
or ecx, 0xffffffff
push esi
lea ebx, [ebp + 0x24]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], ecx
xor esi, esi
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0x18], ecx
push edi
mov dword [esp + 0x10], ebp
mov byte [ebx], al
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], esi
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [ebp], edx
mov edi, 0x4a89a8
mov edx, dword [eax]
push 1
mov dword [ebp + 0xc], edx
mov eax, dword [eax + 4]
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [ebp + 4], 0x20
mov dword [ebp + 0x1c], esi
mov edx, dword [eax]
mov dword [esp + 0x20], esi
mov dword [ebp + 0x14], edx
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x34]
mov dword [ebp + 0x18], eax
xor eax, eax
mov dword [ebp + 0x20], edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
mov ecx, ebx
push edi
mov dword [esp + 0x2c], edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x41bcf2
mov ecx, edi
mov edi, dword [ebx + 4]
mov eax, ecx
mov esi, 0x4a89a8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 4]
mov dword [ebx + 8], eax
xor esi, esi
mov byte [ecx + eax], 0
cmp dword [ebp], 0xf
jg 0x41bcfd
mov dword [ebp + 8], esi
jmp 0x41bd04
mov dword [ebp + 8], 1
mov ecx, dword [esp + 0x14]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x41e990
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48c900
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x1c]
lea ebx, [esi + 0x14]
sub eax, ecx
jne 0x41e9df
mov ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x24]
sub ecx, eax
jne 0x41e9df
mov edx, dword [esi]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
mov eax, dword [esi]
push edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi]
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov eax, dword [esi + 0x10]
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub ecx, eax
push 1
push ecx
mov ecx, dword [esp + 0x1c]
sub edx, ecx
push edx
push eax
mov eax, dword [esi]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
lea edi, [esi + 0x44]
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::DeleteObject
push ebx
mov ebx, dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
call ebx
push eax
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::Attach
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x492e88
lea ecx, [esi + 0x24]
mov dword [esp + 0x2c], 0
push ecx
call ebx
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
neg eax
sbb eax, eax
and eax, edx
test edi, edi
jne 0x41ea83
xor ecx, ecx
jmp 0x41ea86
mov ecx, dword [edi + 4]
mov edx, dword [esi + 0x48]
push 2
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CombineRgn]
test edi, edi
je 0x41ea9b
mov edi, dword [edi + 4]
mov eax, dword [esi]
push 1
push edi
push eax
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov ecx, dword [esi]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esp + 0xc], 0x491524
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x4254a0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48d458
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
lea ecx, [esp]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x14]
lea ecx, [esp]
push eax
push 0x4a2f68
push ecx
mov dword [esp + 0x18], 0
call sub.MFC42.DLL_CString::Format
lea edx, [esp + 0x20]
push edx
call fcn.0045e700
mov eax, dword [eax]
add esp, 0x10
push 5
push eax
mov eax, dword [esp + 8]
push eax
push 0x4a2f5c
push 0x4a2f54
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp]
mov dword [esp + 0xc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4279e0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48d63b
push eax
mov dword fs:[0], esp
sub esp, 0x1bc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1dc]
test esi, esi
push edi
je 0x427b9b
mov eax, dword [esp + 0x1dc]
test eax, eax
je 0x427b9b
mov cx, word [esi + 0x10]
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x16]
mov ebx, dword [esi + 0x12]
mov di, word [esi + 0x1a]
mov word [esp + 0x1c], cx
mov ecx, dword [0x4ad170]
push eax
mov dword [esp + 0x18], edx
call fcn.004334d0
test eax, eax
mov dword [esp + 0x18], eax
je 0x427b9b
test di, di
jle 0x427b9b
cmp di, 0x104
jge 0x427b9b
mov ebp, dword [sym.imp.MSVCRT.dll_fopen]
lea edi, [esi + 0x1c]
push 0x4a1ea4
push edi
call ebp
mov esi, eax
add esp, 8
test esi, esi
je 0x427b9b
push 0
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_fseek]
push esi
call ebx
push esi
push 1
lea eax, [esp + 0x24]
push 4
push eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.MSVCRT.dll_fread]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x20
cmp word [esp + 0x1c], 0
je 0x427b9b
push 0x4a1ea4
push edi
call ebp
mov ecx, dword [esp + 0x18]
mov ebp, eax
push ecx
call sub.MFC42.DLL_operatornew
mov edx, dword [esp + 0x20]
push 0
push edx
push ebp
mov edi, eax
call ebx
mov eax, dword [esp + 0x28]
push ebp
push 1
push eax
push edi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x28
test edi, edi
je 0x427b91
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push 3
push edx
movsx ebx, byte [ecx + 0x28]
push edi
lea ecx, [esp + 0x2c]
call fcn.0044a3c0
lea esi, [ebx + ebx*2]
mov eax, dword [0x4ac920]
mov dword [esp + 0x1d4], 0
lea esi, [esi + esi*8]
shl esi, 2
sub esi, ebx
shl esi, 2
lea ecx, [esi + eax + 0x15d4]
call fcn.004487e0
mov edx, dword [0x4ac920]
push 1
push 1
lea ecx, [esp + 0x28]
push 1
push ecx
lea ecx, [esi + edx + 0x15d4]
call fcn.00448900
push edi
call sub.MFC42.DLL_operatordelete
mov eax, dword [0x4ac920]
add esp, 4
mov byte [eax + 0x192e], 1
mov ecx, dword [0x4ac920]
call fcn.00414800
lea ecx, [esp + 0x20]
mov dword [esp + 0x1d4], 0xffffffff
mov dword [esp + 0x20], 0x492350
call fcn.004487e0
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov ecx, dword [esp + 0x1cc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c8
ret 8
Function at 0x429230
Capabilities:
Access peb ldr_data
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x48d888
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
push esi
lea eax, [esp + 0xc]
push edi
mov edi, ecx
push eax
call sub.MFC42.DLL_CTime::GetTickCount
lea ecx, [esp + 0x14]
push 0x4a89a8
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CTime::Format
lea edx, [esp + 0x18]
push 0x4a3398
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0
call sub.MFC42.DLL_CTime::Format
lea ebp, [edi + 0xc]
push eax
lea eax, [esp + 0x10]
push ebp
push eax
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0xc]
mov edx, dword [edi + 0x10]
lea esi, [edi + 0x10]
push 0
push 0x1041
push eax
mov ecx, esi
call dword [edx + 0x28]
test eax, eax
jne 0x429323
mov ebp, dword [ebp]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [esp + 0xc]
mov edx, dword [esi]
push 0
push 0x1041
push eax
mov ecx, esi
call dword [edx + 0x28]
test eax, eax
jne 0x429323
push eax
push eax
push 0x4a3384
call sub.MFC42.DLL_AfxMessageBox_1
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
lea ecx, [esp + 0xc]
mov dword [edi + 8], 1
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x429440
Capabilities:
Print debug messages

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x14]
push esi
mov esi, ecx
push ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0x824]
test eax, eax
jne 0x42946f
push 0x4a33c0
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [esi + 0x824], eax
mov esi, dword [esi + 0x824]
test esi, esi
je 0x4294a7
push edi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
not ecx
push eax
push 0
dec ecx
push 0x4a
push esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x42b180
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x48dc6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ebx, [esi + 0x38]
mov ecx, ebx
call fcn.0045d588
lea edx, [esi + 0xc]
xor eax, eax
mov ecx, 0xb
mov edi, edx
mov dword [esi], 0x493ee0
push eax
rep stosd dword es:[edi], eax
push eax
lea eax, [esi + 8]
push eax
push 0
push edx
push 0
mov dword [esp + 0x30], 0
mov dword [edx], 0x28
mov dword [esi + 0x10], 0x1f4
mov dword [esi + 0x14], 0x32
mov word [esi + 0x18], 1
mov word [esi + 0x1a], 0x20
call dword [sym.imp.GDI32.dll_CreateDIBSection]
push 0
mov dword [esi + 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, ebx
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [esi + 4]
test eax, eax
je 0x42b21d
mov ecx, dword [esi + 0x3c]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x42b21f
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x48], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x42b920
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48dd48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebp
push esi
push edi
mov esi, ecx
call fcn.0042b8e0
mov edi, dword [sym.imp.USER32.dll_LoadImageA]
push 0x10
push 0
push 0
push 0
push 0x4a357c
push 0
call edi
push 0x10
push 0
push 0
push 0
push 0x4a3560
push 0
mov dword [esi + 0x37c], eax
call edi
lea ecx, [esp + 0x18]
mov dword [esi + 0x380], eax
call fcn.0045d588
push 0
mov dword [esp + 0x34], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CDC::Attach
lea eax, [esi + 0x128]
lea ecx, [esp + 0x18]
push eax
call sub.MFC42.DLL_CDC::SelectObject
push 0x4a1310
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], eax
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x4ad16c]
mov byte [esp + 0x30], 1
test eax, eax
je 0x42b9e5
mov ecx, dword [eax + 0x6c]
test ecx, ecx
jne 0x42b9d7
push 0x4a2118
jmp 0x42b9dc
push 0x4a2110
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esi + 0x37c]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
test eax, eax
je 0x42ba01
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call ebp
mov edi, eax
jmp 0x42ba03
xor edi, edi
lea edx, [esp + 0xc]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::CString_1
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 2
call sub.MFC42.DLL_CDC::SetBkMode
push 0xc8c8c8
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CDC::SetTextColor
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x20]
push 5
push 0x28
lea ecx, [esp + 0x28]
call dword [eax + 0x64]
test edi, edi
je 0x42ba53
mov ecx, dword [esp + 0x1c]
push edi
push ecx
call ebp
mov esi, dword [esi + 0x380]
test esi, esi
je 0x42ba69
mov edx, dword [esp + 0x1c]
push esi
push edx
call ebp
mov esi, eax
jmp 0x42ba6b
xor esi, esi
push 1
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CDC::SetBkMode
push 0xc8c8c8
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CDC::SetTextColor
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x20]
push 5
push 0x28
lea ecx, [esp + 0x28]
call dword [eax + 0x64]
test esi, esi
je 0x42baa8
mov ecx, dword [esp + 0x1c]
push esi
push ecx
call ebp
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
call sub.MFC42.DLL_CDC::SelectObject
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CDC::CDC
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x42ee50
Capabilities:
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48df78
push eax
mov dword fs:[0], esp
mov eax, dword [esp + 0x10]
push 2
push 0
push 0
push eax
push 0x4a2f54
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
mov dword [esp + 8], 0xffffffff
lea ecx, [esp + 0x10]
jae 0x42eea6
call sub.MFC42.DLL_CString::CString
xor al, al
mov ecx, dword [esp]
mov dword fs:[0], ecx
add esp, 0xc
ret 4
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp]
mov al, 1
mov dword fs:[0], ecx
add esp, 0xc
ret 4
Function at 0x432a90
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x210
push ebx
push ebp
push esi
mov dword [esp + 0x10], ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11d]
mov byte [esp + 0x11c], 0
xor esi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [esp + 0x10], esi
stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x11c]
push eax
push 0x4a22fc
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snprintf]
mov edx, dword [esp + 0x234]
add esp, 0x10
lea eax, [esp + 0x18]
lea ecx, [esp + 0x11c]
push edx
push 0x104
push eax
push 0x4a89a8
push ecx
push 0x4a3bb0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jbe 0x432beb
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
lea ecx, [eax + 0x1e34]
call fcn.00434730
mov ebp, eax
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
cmp ebx, 0xfffffffd
jbe 0x432b57
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov ecx, dword [ebp + 4]
cmp ecx, esi
je 0x432b84
mov al, byte [ecx - 1]
test al, al
je 0x432b84
cmp al, 0xff
je 0x432b84
cmp ebx, esi
jne 0x432bb1
dec al
mov byte [ecx - 1], al
mov dword [ebp + 4], esi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
inc dword [esp + 0x10]
jmp 0x432ad4
cmp ebx, esi
jne 0x432b9b
push 1
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
inc dword [esp + 0x10]
jmp 0x432ad4
mov eax, dword [ebp + 0xc]
cmp eax, 0x1f
ja 0x432ba7
cmp eax, ebx
jae 0x432bba
push 1
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Copy_unsigned_int_]
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
xor esi, esi
mov byte [eax + ebx], 0
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
jmp 0x432ad4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 4