joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43fea0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a6168
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push esi
push edi
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
mov esi, dword [esp + 0x90]
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0xc]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi]
mov edi, dword [esp + 0x8c]
push eax
push 1
push ecx
push edi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
cmp eax, 1
mov eax, dword [esi + 0xc]
cdq
sete bl
idiv dword [esi + 0x10]
test bl, bl
mov byte [esp + 0x90], bl
mov dword [esi + 0x14], eax
je 0x44003c
push ebp
push eax
lea edx, [esp + 0x20]
push str.length__d
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [esp + 0x1c]
lea ecx, [esi + 0x18]
push eax
mov dword [esp + 0x1c], ecx
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esi + 0x10]
mov ebp, dword [esi + 0x14]
xor ebx, ebx
xor eax, eax
cmp ecx, 1
mov edx, ebp
sete byte [esp + 0x13]
dec ebp
test edx, edx
je 0x43ffe8
inc ebp
mov dword [esp + 0x14], ebp
mov ebp, dword [sym.imp.MSVCRT.dll_memmove]
mov dl, byte [esp + 0x13]
test dl, dl
je 0x43ff6c
xor edx, edx
cmp byte [edi], dl
jmp 0x43ff71
xor edx, edx
cmp word [edi], dx
sete dl
test edx, edx
je 0x43ff98
test eax, eax
je 0x43ff91
cmp edi, eax
je 0x43ff91
imul ecx, ebx
mov edx, edi
sub edx, eax
push edx
push eax
sub eax, ecx
push eax
call ebp
add esp, 0xc
mov ecx, dword [esi + 0x10]
inc ebx
lea eax, [ecx + edi]
mov edx, dword [esp + 0x14]
add edi, ecx
dec edx
mov dword [esp + 0x14], edx
jne 0x43ff5e
test eax, eax
je 0x43ffbf
cmp edi, eax
je 0x43ffbf
mov ecx, dword [esi + 0x10]
sub edi, eax
imul ecx, ebx
push edi
push eax
sub eax, ecx
push eax
call ebp
add esp, 0xc
test ebx, ebx
je 0x43ffe8
push ebx
lea edx, [esp + 0x20]
push str.__d_nulls_removed_
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ecx, dword [esp + 0x24]
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
call fcn.0049e518
sub dword [esi + 0x14], ebx
mov eax, dword [esi + 0x10]
pop ebp
cmp eax, 1
jle 0x440023
mov ecx, dword [esi + 4]
push ecx
call fcn.0043faa0
add esp, 4
test al, al
je 0x440023
mov edx, dword [esi + 0x14]
mov eax, dword [esp + 0x8c]
push edx
push eax
call fcn.0043fab0
mov ecx, dword [esp + 0x1c]
add esp, 8
push str.endian_swap
call fcn.0049e518
mov al, byte [esp + 0x90]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
add esp, 0x7c
ret
lea ecx, [esp + 0x8c]
push ecx
call fcn.0043c610
add esp, 4
push eax
lea ecx, [esi + 0x18]
mov dword [esp + 0x88], 0
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x8c]
mov dword [esp + 0x84], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x7c]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x7c
ret
Function at 0x4405f0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a61f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebp
push esi
push edi
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
mov ebp, dword [esp + 0x84]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [ebp + 0x10]
mov esi, dword [esp + 0x88]
imul edi, dword [ebp + 0x14]
test esi, esi
mov dword [esp + 0x84], edi
jne 0x440647
mov esi, dword [esp + 0x80]
mov eax, dword [ebp + 4]
push ebx
push eax
xor ebx, ebx
call fcn.0043faa0
add esp, 4
test al, al
je 0x4406bb
mov eax, dword [esp + 0x84]
test eax, eax
jne 0x44069a
mov ecx, dword [ebp + 0x14]
shl ecx, 1
push ecx
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebp + 0x14]
mov ebx, eax
shl ecx, 1
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x84], ebx
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x88]
mov esi, ebx
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x84]
push eax
push ecx
call fcn.0043fab0
add esp, 8
lea ecx, [ebp + 0x18]
push str.endian_swap
call fcn.0049e518
mov edx, dword [ebp]
push edx
push 1
push edi
push esi
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
cmp eax, 1
sete byte [esp + 0x84]
test ebx, ebx
je 0x4406e4
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov al, byte [esp + 0x84]
pop ebx
test al, al
je 0x440716
mov eax, dword [ebp + 0x14]
lea ecx, [esp + 0xc]
push eax
push str.length__d
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea edx, [esp + 0xc]
lea ecx, [ebp + 0x18]
push edx
call fcn.0049e518
jmp 0x44074b
lea eax, [esp + 0x84]
push eax
call fcn.0043c610
add esp, 4
push eax
lea ecx, [ebp + 0x18]
mov dword [esp + 0x7c], 0
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x84]
mov dword [esp + 0x78], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x70]
mov al, byte [esp + 0x80]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x70
ret

Function at 0x440e00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a62bf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0xc]
push 0x4d509c
push ecx
mov dword [esp + 0x10], 0
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea edx, [esp + 8]
lea ecx, [esp + 0x38]
push edx
call sub.MFC42.DLL_CString::CString_3
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x38]
push eax
mov ecx, esi
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 4], 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x447470
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4a7634
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 4]
mov dword [esp + 0x1c], 2
mov ecx, edi
call sub.MFC42.DLL_CString::CString_4
lea ebp, [esi + 8]
mov byte [esp + 0x1c], 3
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_4
lea ebx, [esi + 0x14]
mov byte [esp + 0x1c], 4
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x18]
mov byte [esp + 0x1c], 5
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
mov byte [esp + 0x20], 6
mov dword [esi], 0x4b8104
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], eax
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 0x28]
lea ecx, [esi + 0x18]
push edx
call sub.MFC42.DLL_CString::operator
lea eax, [esp + 0x2c]
mov ecx, ebp
push eax
call sub.MFC42.DLL_CString::operator
push 0x4dab08
mov ecx, edi
call sub.MFC42.DLL_CString::operator_1
mov ecx, esi
call fcn.00447600
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x44b900
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a823c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
mov esi, ecx
push 0x14b6
mov dword [esp + 0xc], esi
call fcn.0042fd30
lea edi, [esi + 0x94]
mov dword [esp + 0x1c], 0
mov ecx, edi
call fcn.0049e584
mov dword [edi], 0x4b3dd8
lea edi, [esi + 0xd4]
mov byte [esp + 0x1c], 1
mov ecx, edi
call fcn.0049e584
mov dword [edi], 0x4b3dd8
lea ecx, [esi + 0x114]
mov byte [esp + 0x1c], 2
call fcn.00459a60
lea ecx, [esi + 0x160]
mov byte [esp + 0x1c], 3
call fcn.00459a60
lea edi, [esi + 0x1ac]
mov byte [esp + 0x1c], 4
mov ecx, edi
mov dword [esp + 0xc], edi
call sub.MFC42.DLL_CString::CString_4
lea ecx, [edi + 4]
mov byte [esp + 0x1c], 5
call sub.MFC42.DLL_CString::CString_4
lea ecx, [edi + 8]
mov byte [esp + 0x1c], 6
call sub.MFC42.DLL_CString::CString_4
add edi, 0x1c
mov byte [esp + 0x1c], 7
mov ecx, edi
mov dword [esp + 0x10], edi
call sub.MFC42.DLL_CString::CString_4
lea ecx, [edi + 0x30]
mov byte [esp + 0x1c], 8
call sub.MFC42.DLL_CString::CString_4
lea ecx, [edi + 0x34]
mov byte [esp + 0x1c], 9
call sub.MFC42.DLL_CString::CString_4
lea ecx, [edi + 0x38]
mov byte [esp + 0x1c], 0xa
call sub.MFC42.DLL_CString::CString_4
lea ecx, [edi + 0x3c]
mov byte [esp + 0x1c], 0xb
call sub.MFC42.DLL_CString::CString_4
lea ecx, [edi + 0x40]
mov byte [esp + 0x1c], 0xc
call sub.MFC42.DLL_CString::CString_4
lea ecx, [edi + 0x44]
mov byte [esp + 0x1c], 0xd
call sub.MFC42.DLL_CString::CString_4
lea ecx, [edi + 0x48]
mov byte [esp + 0x1c], 0xe
call sub.MFC42.DLL_CString::CString_4
lea ecx, [edi + 0x4c]
mov byte [esp + 0x1c], 0xf
call sub.MFC42.DLL_CString::CString_4
mov byte [esp + 0x1c], 0x10
lea edi, [esi + 0x22c]
mov ecx, edi
mov dword [esp + 0x10], edi
call sub.MFC42.DLL_CString::CString_4
lea ecx, [edi + 4]
mov byte [esp + 0x1c], 0x11
call sub.MFC42.DLL_CString::CString_4
lea ecx, [edi + 8]
mov byte [esp + 0x1c], 0x12
call sub.MFC42.DLL_CString::CString_4
lea ecx, [edi + 0xc]
mov byte [esp + 0x1c], 0x13
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x14]
mov dword [esi], 0x4b8bb0
mov dword [esi + 0x218], 0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x44bbf0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a83cc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], edi
mov dword [edi], 0x4b8bb0
mov dword [esp + 0x20], 0
lea esi, [edi + 0x22c]
mov dword [esp + 0x10], esi
lea ecx, [esi + 0xc]
mov byte [esp + 0x20], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 8]
mov byte [esp + 0x20], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 4]
mov byte [esp + 0x20], 6
call sub.MFC42.DLL_CString::CString
mov ecx, esi
mov byte [esp + 0x20], 5
call sub.MFC42.DLL_CString::CString
lea ebp, [edi + 0x1ac]
mov dword [esp + 0x10], ebp
lea esi, [ebp + 0x1c]
mov dword [esp + 0x14], esi
lea ecx, [esi + 0x4c]
mov byte [esp + 0x20], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x48]
mov byte [esp + 0x20], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x44]
mov byte [esp + 0x20], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x40]
mov byte [esp + 0x20], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x3c]
mov byte [esp + 0x20], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x38]
mov byte [esp + 0x20], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x34]
mov byte [esp + 0x20], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x30]
mov byte [esp + 0x20], 0xa
call sub.MFC42.DLL_CString::CString
mov ecx, esi
mov byte [esp + 0x20], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 8]
mov byte [esp + 0x20], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 4]
mov byte [esp + 0x20], 0x12
call sub.MFC42.DLL_CString::CString
mov ecx, ebp
mov byte [esp + 0x20], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0x160]
mov byte [esp + 0x20], 3
call fcn.00459ab0
lea ecx, [edi + 0x114]
mov byte [esp + 0x20], 2
call fcn.00459ab0
lea ecx, [edi + 0xd4]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CComboBox::CComboBox
lea ecx, [edi + 0x94]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CComboBox::CComboBox
mov ecx, edi
mov dword [esp + 0x20], 0xffffffff
call fcn.0042fd80
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x44d640
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a8640
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
mov edi, ecx
push 0x14b5
mov dword [esp + 0xc], edi
call fcn.0042fd30
lea ecx, [edi + 0x94]
mov dword [esp + 0x1c], 0
call fcn.00459a60
lea ecx, [edi + 0xe0]
mov byte [esp + 0x1c], 1
call fcn.00459a60
lea esi, [edi + 0x130]
mov byte [esp + 0x1c], 2
mov ecx, esi
mov dword [esp + 0xc], esi
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 4]
mov byte [esp + 0x1c], 3
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 8]
mov byte [esp + 0x1c], 4
call sub.MFC42.DLL_CString::CString_4
add esi, 0x1c
mov byte [esp + 0x1c], 5
mov ecx, esi
mov dword [esp + 0x10], esi
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], 6
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x34]
mov byte [esp + 0x1c], 7
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x38]
mov byte [esp + 0x1c], 8
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x3c]
mov byte [esp + 0x1c], 9
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x40]
mov byte [esp + 0x1c], 0xa
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x44]
mov byte [esp + 0x1c], 0xb
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x48]
mov byte [esp + 0x1c], 0xc
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x4c]
mov byte [esp + 0x1c], 0xd
call sub.MFC42.DLL_CString::CString_4
lea esi, [edi + 0x1ac]
mov byte [esp + 0x1c], 0xe
mov ecx, esi
mov dword [esp + 0x10], esi
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 4]
mov byte [esp + 0x1c], 0xf
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 8]
mov byte [esp + 0x1c], 0x10
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0xc]
mov byte [esp + 0x1c], 0x11
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x14]
mov dword [edi], 0x4b8cf8
mov dword [edi + 0x12c], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x44d7c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a8710
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], edi
mov dword [edi], 0x4b8cf8
mov dword [esp + 0x20], 0
lea esi, [edi + 0x1ac]
mov dword [esp + 0x10], esi
lea ecx, [esi + 0xc]
mov byte [esp + 0x20], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 8]
mov byte [esp + 0x20], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 4]
mov byte [esp + 0x20], 4
call sub.MFC42.DLL_CString::CString
mov ecx, esi
mov byte [esp + 0x20], 3
call sub.MFC42.DLL_CString::CString
lea ebp, [edi + 0x130]
mov dword [esp + 0x10], ebp
lea esi, [ebp + 0x1c]
mov dword [esp + 0x14], esi
lea ecx, [esi + 0x4c]
mov byte [esp + 0x20], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x48]
mov byte [esp + 0x20], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x44]
mov byte [esp + 0x20], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x40]
mov byte [esp + 0x20], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x3c]
mov byte [esp + 0x20], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x38]
mov byte [esp + 0x20], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x34]
mov byte [esp + 0x20], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x30]
mov byte [esp + 0x20], 8
call sub.MFC42.DLL_CString::CString
mov ecx, esi
mov byte [esp + 0x20], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 8]
mov byte [esp + 0x20], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 4]
mov byte [esp + 0x20], 0x10
call sub.MFC42.DLL_CString::CString
mov ecx, ebp
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x20], 1
lea ecx, [edi + 0xe0]
call fcn.00459ab0
lea ecx, [edi + 0x94]
mov byte [esp + 0x20], 0
call fcn.00459ab0
mov ecx, edi
mov dword [esp + 0x20], 0xffffffff
call fcn.0042fd80
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x451d20
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
xor esi, esi
push edi
mov ebx, ecx
mov dword [esp + 0x10], esi
lea edi, [eax + 8]
push ecx
lea edx, [edi - 8]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x14]
mov ecx, 0x4dc390
add eax, 0x9a7
push eax
call fcn.00498cc0
mov ecx, dword [ebx + 0x44]
add edi, 0x14
lea ebp, [esi + ecx + 0x25]
mov cl, byte [esi + ecx + 0x25]
mov dl, cl
xor dl, al
and dl, 0xf
xor dl, cl
mov byte [ebp], dl
mov eax, dword [ebx + 0x44]
mov cl, byte [edi - 0x18]
lea ebp, [esi + eax + 0x26]
mov al, byte [esi + eax + 0x26]
xor cl, al
and cl, 7
xor cl, al
mov byte [ebp], cl
mov edx, dword [ebx + 0x44]
mov al, byte [edi - 0x14]
mov byte [esi + edx + 0x27], al
mov ecx, dword [ebx + 0x44]
mov dl, byte [edi - 0xc]
mov al, byte [esi + ecx + 0x26]
lea ebp, [esi + ecx + 0x26]
shl dl, 3
and al, 7
add esi, 3
or dl, al
mov byte [ebp], dl
mov ebp, dword [esp + 0x10]
inc ebp
cmp esi, 0x12
mov dword [esp + 0x10], ebp
jl 0x451d34
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x456090
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a9778
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, dword [esp + 0x40]
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x20], eax
add eax, 0xd
mov dword [esp + 0x28], eax
mov eax, dword [edi]
mov dword [esp + 0x24], ecx
add ecx, 0xd
test eax, eax
mov dword [esp + 0x2c], ecx
je 0x4560eb
push 0x14
call ebx
push eax
push 0x10
call ebx
push eax
lea eax, [esp + 0x28]
push eax
jmp 0x456101
mov eax, dword [edi + 4]
test eax, eax
je 0x456108
push 0x10
call ebx
push eax
push 0x14
call ebx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::Draw3dRect
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.GDI32.dll_GetTextColor]
mov edx, dword [esi]
push 0x12
mov ebp, eax
mov dword [esp + 0x44], edx
call ebx
push eax
mov eax, dword [esp + 0x44]
mov ecx, esi
call dword [eax + 0x38]
push 1
mov ecx, esi
call sub.MFC42.DLL_CDC::SetBkMode
xor ebx, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], 0x4b3414
mov ecx, dword [esi + 8]
push 0x58
push ecx
mov dword [esp + 0x40], ebx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 0x60
push 0x3c
call dword [sym.imp.KERNEL32.dll_MulDiv]
push ebx
push str.Marlett
push eax
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CFont::CreatePointFont
mov edx, dword [esi]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call dword [edx + 0x30]
push 0x4d8660
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], eax
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [eax]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov ebx, dword [esi]
mov edi, dword [eax - 8]
add ecx, 3
push edi
add edx, 3
push eax
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x48], 1
call dword [ebx + 0x64]
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x40]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x30]
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SetBkMode
mov edx, dword [esi]
push ebp
mov ecx, esi
call dword [edx + 0x38]
mov dword [esp + 0x18], 0x4b3330
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
pop edi
pop esi
mov ecx, dword [esp + 0x28]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4

Function at 0x457730
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx + 4]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 8]
neg eax
sbb eax, eax
and eax, ecx
ret 8
Function at 0x457760
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebp
push esi
mov esi, ecx
xor eax, eax
push edi
mov dword [esp + 0x10], eax
mov dword [esi + 0x10], eax
call ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi + 4]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ClearCommError]
mov eax, dword [esp + 0x14]
test eax, eax
ja 0x4577bc
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jbe 0x4577c8
mov edi, dword [esi + 0xc]
call ebx
lea ecx, [edi + ebp]
cmp ecx, eax
jae 0x45777c
test edi, edi
jne 0x4577ed
jmp 0x45777c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret 8
mov ecx, dword [esi + 4]
lea edx, [esp + 0x10]
push 0
push edx
push eax
mov eax, dword [esp + 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x10]
push 0
push edx
mov edx, dword [esi + 4]
push eax
push ecx
push edx
mov dword [esi + 0x10], 1
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8

Function at 0x461940
Capabilities:
Suspend thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x8e0]
mov dword [esi + 0x8e8], 1
test eax, eax
je 0x46197b
mov eax, dword [esi + 0x8dc]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov dword [esi + 0x8e0], 0
mov dword [esi + 0x8e4], 1
mov ecx, esi
call fcn.00461990
pop esi
ret
Function at 0x46a3d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ab1a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebp
push esi
mov esi, ecx
push edi
push 0x4dab08
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x18]
push 0x50d
push eax
mov ecx, 0x4dc390
mov dword [esp + 0x34], 0
call fcn.004984a0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
push 0x4d9f88
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
push 0x4d9f84
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x4dc424]
mov byte [esp + 0x2c], 3
cmp eax, 1
jne 0x46a472
push 0x4d9f80
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_1
lea edi, [esi + 0x104]
lea edx, [esp + 0x14]
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x3c], 4
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x38], 3
call fcn.0046a5f0
mov ecx, dword [esi + 0x1f8]
push edi
mov edx, dword [ecx + 0xc]
push edx
call fcn.00440f00
mov eax, dword [esi + 0xa4]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 8
push 0
push 0
push 0x14b
push eax
call ebp
mov ecx, dword [esi + 0xe4]
push 0
push 0
push 0x14b
push ecx
call ebp
mov eax, dword [esi + 0x1f8]
lea edx, [esi + 0x84]
push edx
push edi
mov ecx, dword [eax + 0x10]
lea edx, [esp + 0x18]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.0046a8d0
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x24
ret