Function at 0x4316b0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push edi
lea edi, [esp + 8]
and esp, 0xfffffff8
push dword [edi - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x84
mov dword [ebp - 0x30], eax
mov dword [esp], 0x58f08e
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
sub esp, 4
mov ebx, eax
mov dword [esp + 4], str.GetConsoleFontInfo
mov dword [esp], eax
call esi
sub esp, 8
test eax, eax
je 0x431ff0
mov dword [esp + 4], str.GetNumberOfConsoleFonts
mov edi, eax
mov dword [esp], ebx
call esi
sub esp, 8
test eax, eax
je 0x432018
call eax
mov dword [ebp - 0x34], eax
shl eax, 3
mov dword [ebp - 0x64], eax
mov esi, dword fs:[0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ebx, eax
mov eax, dword [ebp - 0x64]
sub esp, 0xc
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], ebx
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x26]
mov edx, dword [sym.imp.kernel32.dll_GetConsoleScreenBufferInfo]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov dword [ebp - 0x48], edx
call edx
mov edx, dword [ebp - 0x26]
xor ecx, ecx
sub esp, 8
mov dword [ebp - 0x68], edx
movzx edx, word [ebp - 0x26]
mov cx, dx
movzx edx, word [ebp - 0x24]
add cx, 3
lea eax, [edx + 5]
shl eax, 0x10
or ecx, eax
mov dword [esp + 4], ecx
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_SetConsoleScreenBufferSize]
mov dword [ebp - 0x6c], eax
call eax
mov dword [esi + 0x34], 0xdeadbeef
sub esp, 8
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
sub esp, 0x10
mov dword [ebp - 0x40], eax
mov eax, 0xf62
call fcn.00427180
mov ecx, dword [ebp - 0x40]
xor eax, eax
mov dword [esp + 4], str.got__d__expected_zero_n
test ecx, ecx
mov dword [esp + 8], ecx
sete al
mov dword [esp], eax
call fcn.00427ef0
cmp dword [esi + 0x34], 0x4001
je 0x431f90
cmp dword [esi + 0x34], 0x1f
jne 0x431821
mov ecx, dword [0x8f0770]
test ecx, ecx
je 0x431f90
mov eax, 0xf6b
call fcn.00427180
mov esi, dword fs:[0x18]
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.got__lu__expected_6_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 6
sete al
mov dword [esp], eax
call fcn.00427ef0
mov eax, dword [sym.imp.kernel32.dll_GetStdHandle]
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp], 0xfffffff6
mov dword [ebp - 0x7c], eax
call eax
sub esp, 4
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call edi
sub esp, 0x10
mov dword [ebp - 0x40], eax
mov eax, 0xf6f
call fcn.00427180
mov ecx, dword [ebp - 0x40]
xor eax, eax
mov dword [esp + 4], str.got__d__expected_zero_n
test ecx, ecx
mov dword [esp + 8], ecx
sete al
mov dword [esp], eax
call fcn.00427ef0
mov eax, 0xf70
call fcn.00427180
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.got__lu__expected_6_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 6
sete al
mov dword [esp], eax
call fcn.00427ef0
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call edi
sub esp, 0x10
mov dword [ebp - 0x40], eax
mov eax, 0xf74
call fcn.00427180
mov ecx, dword [ebp - 0x40]
xor eax, eax
mov dword [esp + 4], str.got__d__expected_zero_n
test ecx, ecx
mov dword [esp + 8], ecx
sete al
mov dword [esp], eax
call fcn.00427ef0
mov eax, 0xf75
call fcn.00427180
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.got__lu__expected_0xdeadbeef_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 0xdeadbeef
sete al
mov dword [esp], eax
call fcn.00427ef0
lea edx, [ebp - 0x26]
mov dword [esp + 4], edx
mov esi, dword [ebp - 0x30]
mov dword [esp], esi
mov eax, dword [ebp - 0x48]
call eax
movsx edx, word [ebp - 0x1c]
movsx eax, word [ebp - 0x18]
sub esp, 8
sub eax, edx
movsx edx, word [ebp - 0x1a]
add eax, 1
mov dword [ebp - 0x48], eax
movsx eax, word [ebp - 0x16]
sub eax, edx
lea ecx, [eax + 1]
mov dword [ebp - 0x4c], ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [ebp - 0x30], esi
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetCurrentConsoleFont]
mov esi, dword [ebx]
mov edx, dword [sym.imp.kernel32.dll_GetConsoleFontSize]
sub esp, 0xc
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x30]
lea esi, [ebx + esi*8]
mov dword [esp], eax
mov dword [ebp - 0x38], edx
call edx
mov edx, dword [ebp - 0x64]
sub esp, 8
mov word [ebp - 0x6e], ax
shr eax, 0x10
mov dword [ebp - 0x74], eax
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], ebx
call sub.msvcrt.dll_memset
mov dword [esp + 0xc], ebx
mov edx, dword [ebp - 0x34]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call edi
sub esp, 0x10
mov dword [ebp - 0x40], eax
mov eax, 0xf81
call fcn.00427180
mov edx, dword [ebp - 0x40]
mov dword [esp + 4], str.got__d__expected_non_zero_n
mov dword [esp + 8], edx
mov dword [esp], edx
call fcn.00427ef0
mov eax, 0xf82
call fcn.00427180
mov edx, dword [ebp - 0x48]
movsx eax, word [esi + 4]
mov dword [ebp - 0x78], esi
mov dword [esp + 4], 0x5908fd
cmp eax, edx
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], edx
movzx eax, al
mov dword [esp], eax
call fcn.00427ef0
mov eax, 0xf84
call fcn.00427180
movsx eax, word [esi + 6]
mov ecx, dword [ebp - 0x4c]
mov dword [esp + 4], 0x5908fd
cmp eax, ecx
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], ecx
movzx eax, al
mov dword [esp], eax
call fcn.00427ef0
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x431bca
fild word [ebp - 0x6e]
mov dword [ebp - 0x80], edi
xor esi, esi
fstp qword [ebp - 0x40]
fild dword [ebp - 0x48]
fstp qword [ebp - 0x58]
fild word [ebp - 0x74]
fstp qword [ebp - 0x48]
fild dword [ebp - 0x4c]
fstp qword [ebp - 0x60]
lea esi, [esi]
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0xf89
mov eax, dword [ebx + esi*8]
mov dword [esp + 0xc], esi
cmp eax, esi
mov dword [esp + 8], eax
sete al
mov dword [esp + 4], str.element_out_of_order__got_nFont__ld__expected__ld_n
movzx eax, al
mov dword [esp], eax
call fcn.00427ef0
mov eax, dword [ebx + esi*8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
call eax
fnstcw word [ebp - 0x2a]
mov word [ebp - 0x4c], ax
fild word [ebp - 0x4c]
sar eax, 0x10
fdivr qword [ebp - 0x40]
mov word [ebp - 0x50], ax
sub esp, 8
movzx ecx, word [ebp - 0x2a]
or ch, 0xc
mov word [ebp - 0x2c], cx
fmul qword [ebp - 0x58]
fldcw word [ebp - 0x2c]
fistp dword [ebp - 0x4c]
fldcw word [ebp - 0x2a]
fild word [ebp - 0x50]
fdivr qword [ebp - 0x48]
fmul qword [ebp - 0x60]
fldcw word [ebp - 0x2c]
fistp dword [ebp - 0x50]
fldcw word [ebp - 0x2a]
mov edi, dword [ebp - 0x50]
call fcn.0057d110
mov edx, dword [ebp - 0x4c]
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0xf8d
movsx eax, word [ebx + esi*8 + 4]
mov dword [esp + 0xc], edx
cmp eax, edx
mov dword [esp + 8], eax
sete al
mov dword [esp + 4], 0x5908fd
movzx eax, al
mov dword [esp], eax
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0xf8e
movsx eax, word [ebx + esi*8 + 6]
mov dword [esp + 0xc], edi
cmp eax, edi
mov dword [esp + 8], eax
sete al
mov dword [esp + 4], 0x5908fd
add esi, 1
movzx eax, al
mov dword [esp], eax
call fcn.00427ef0
cmp dword [ebp - 0x34], esi
jne 0x431ac0
mov edi, dword [ebp - 0x80]
mov esi, dword fs:[0x18]
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0
call edi
sub esp, 0x10
mov dword [ebp - 0x40], eax
mov eax, 0xf93
call fcn.00427180
mov edx, dword [ebp - 0x40]
xor eax, eax
mov dword [esp + 4], str.got__d__expected_zero_n
test edx, edx
mov dword [esp + 8], edx
sete al
mov dword [esp], eax
call fcn.00427ef0
mov eax, 0xf94
call fcn.00427180
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.got__lu__expected_6_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 6
sete al
mov dword [esp], eax
call fcn.00427ef0
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp], 0xfffffff6
mov eax, dword [ebp - 0x7c]
call eax
sub esp, 4
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], eax
call edi
sub esp, 0x10
mov dword [ebp - 0x40], eax
mov eax, 0xf98
call fcn.00427180
mov edx, dword [ebp - 0x40]
xor eax, eax
mov dword [esp + 4], str.got__d__expected_zero_n
test edx, edx
mov dword [esp + 8], edx
sete al
mov dword [esp], eax
call fcn.00427ef0
mov eax, 0xf99
call fcn.00427180
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.got__lu__expected_6_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 6
sete al
mov dword [esp], eax
call fcn.00427ef0
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call edi
sub esp, 0x10
mov dword [ebp - 0x40], eax
mov eax, 0xf9d
call fcn.00427180
mov edx, dword [ebp - 0x40]
xor eax, eax
mov dword [esp + 4], str.got__d__expected_zero_n
test edx, edx
mov dword [esp + 8], edx
sete al
mov dword [esp], eax
call fcn.00427ef0
mov eax, 0xf9e
call fcn.00427180
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.got__lu__expected_0xdeadbeef_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [esi + 0x34], 0xdeadbeef
sete al
mov dword [esp], eax
call fcn.00427ef0
mov edx, dword [ebp - 0x64]
mov dword [esp + 4], 0
mov dword [esp], ebx
mov dword [esp + 8], edx
call sub.msvcrt.dll_memset
mov dword [esp + 0xc], ebx
mov edx, dword [ebp - 0x34]
mov dword [esp + 4], 1
mov dword [esp + 8], edx
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call edi
sub esp, 0x10
mov esi, eax
mov eax, 0xfa2
call fcn.00427180
mov dword [esp + 8], esi
mov dword [esp + 4], str.got__d__expected_non_zero_n
mov dword [esp], esi
call fcn.00427ef0
mov eax, 0xfa3
call fcn.00427180
mov edi, dword [ebp - 0x78]
movsx ecx, word [ebp - 0x14]
movzx eax, word [edi + 4]
mov edx, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 4], 0x5908fd
cmp dx, ax
movsx ecx, ax
sete al
mov dword [esp + 8], ecx
movzx eax, al
mov dword [esp], eax
call fcn.00427ef0
mov eax, 0xfa5
call fcn.00427180
movsx ecx, word [ebp - 0x12]
movzx eax, word [edi + 6]
mov dword [esp + 4], 0x5908fd
mov edx, ecx
mov dword [esp + 0xc], ecx
movsx ecx, ax
cmp dx, ax
mov dword [esp + 8], ecx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00427ef0
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x431f43
fild word [ebp - 0x6e]
xor esi, esi
fstp qword [ebp - 0x40]
fild word [ebp - 0x74]
fstp qword [ebp - 0x48]
lea esi, [esi]
nop
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0xfaa
mov eax, dword [ebx + esi*8]
mov dword [esp + 0xc], esi
cmp eax, esi
mov dword [esp + 8], eax
sete al
mov dword [esp + 4], str.element_out_of_order__got_nFont__ld__expected__ld_n
movzx eax, al
mov dword [esp], eax
call fcn.00427ef0
mov eax, dword [ebx + esi*8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
call eax
fnstcw word [ebp - 0x2a]
mov word [ebp - 0x4c], ax
fild word [ebp - 0x4c]
sar eax, 0x10
fdivr qword [ebp - 0x40]
mov word [ebp - 0x50], ax
sub esp, 8
movzx ecx, word [ebp - 0x2a]
or ch, 0xc
mov word [ebp - 0x2c], cx
fild word [ebp - 0x14]
fmulp st(1)
fldcw word [ebp - 0x2c]
fistp dword [ebp - 0x4c]
fldcw word [ebp - 0x2a]
fild word [ebp - 0x50]
fdivr qword [ebp - 0x48]
fild word [ebp - 0x12]
fmulp st(1)
fldcw word [ebp - 0x2c]
fistp dword [ebp - 0x50]
fldcw word [ebp - 0x2a]
mov edi, dword [ebp - 0x50]
call fcn.0057d110
mov ecx, dword [ebp - 0x4c]
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0xfae
movsx eax, word [ebx + esi*8 + 4]
mov dword [esp + 0xc], ecx
cmp eax, ecx
mov dword [esp + 8], eax
sete al
mov dword [esp + 4], 0x5908fd
movzx eax, al
mov dword [esp], eax
call fcn.00427ef0
call fcn.0057d110
mov dword [eax], 0x58f03f
mov dword [eax + 4], 0xfaf
movsx eax, word [ebx + esi*8 + 6]
mov dword [esp + 0xc], edi
cmp eax, edi
mov dword [esp + 8], eax
sete al
mov dword [esp + 4], 0x5908fd
add esi, 1
movzx eax, al
mov dword [esp], eax
call fcn.00427ef0
cmp dword [ebp - 0x34], esi
jne 0x431e38
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp - 0x68]
sub esp, 0xc
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov eax, dword [ebp - 0x6c]
call eax
sub esp, 8
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret
mov eax, 0xf66
call fcn.00427180
mov dword [esp], str.GetConsoleFontInfo_is_not_implemented_n
call fcn.00427740
mov eax, dword [ebp - 0x68]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov eax, dword [ebp - 0x6c]
call eax
sub esp, 8
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret
mov eax, 0xf4a
call fcn.00427180
mov dword [esp], str.GetConsoleFontInfo_is_not_available_n
call fcn.00427ec0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret
mov eax, 0xf51
call fcn.00427180
mov dword [esp], str.GetNumberOfConsoleFonts_is_not_available_n
call fcn.00427ec0
jmp 0x431f7c