Function at 0x4613b0
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x158
mov eax, dword [sym.imp.user32.dll_GetDC]
mov dword [esp], 0
mov dword [ebp - 0x140], eax
call eax
mov dword [ebp - 0x124], 0x4b35a0
mov dword [ebp - 0x134], eax
sub esp, 4
mov dword [esp], 0
mov eax, dword [ebp - 0x140]
call eax
sub esp, 4
mov esi, eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x445950
mov edi, dword [ebp - 0x124]
mov dword [esp], eax
mov dword [esp + 4], edi
call dword [sym.imp.gdi32.dll_EnumFontFamiliesA]
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], esi
mov dword [esp], 0
test eax, eax
jne 0x461c80
call dword [sym.imp.user32.dll_ReleaseDC]
lea edx, [ebp - 0x11c]
mov eax, ebx
mov ecx, 0xe
mov edi, edx
sub esp, 8
lea esi, [ebp - 0x120]
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x124]
lea eax, [ebp - 0x104]
mov dword [esp], eax
mov dword [esp + 4], edi
call dword [sym.imp.msvcrt.dll_strcpy]
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x120], eax
mov dword [esp], esi
call dword [sym.imp.gdi32.dll_CreateFontIndirectA]
sub esp, 4
mov esi, eax
mov dword [ebp - 0x144], eax
call fcn.00492bc0
mov dword [eax], 0x4ab7f5
mov dword [eax + 4], 0x70d
xor eax, eax
test esi, esi
setne al
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], str.failed_to_create_a_font__name__s_n
call fcn.004471c0
mov dword [esp + 4], esi
mov eax, dword [sym.imp.gdi32.dll_SelectObject]
mov ebx, dword [ebp - 0x134]
mov esi, dword fs:[0x18]
mov dword [esp], ebx
mov dword [ebp - 0x14c], eax
call eax
mov dword [esi + 0x34], 0xdeadbeef
mov dword [ebp - 0x148], eax
sub esp, 8
lea eax, [ebp - 0xe4]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], 0xd8
call dword [sym.imp.gdi32.dll_GetOutlineTextMetricsW]
sub esp, 0xc
mov ebx, eax
call fcn.00492bc0
mov dword [eax], 0x4ab7f5
mov dword [eax + 4], 0x713
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.GetOutlineTextMetricsW_error__ld_n
mov dword [esp + 8], eax
xor eax, eax
cmp ebx, 0xd8
sete al
mov dword [esp], eax
call fcn.004471c0
mov eax, 0x715
call fcn.00446860
mov edx, dword [ebp - 0xe0]
mov eax, dword [edi + 0x24]
mov dword [esp + 4], str.expected__ld__got__ld_n
mov dword [esp + 8], eax
sub eax, edx
mov dword [esp + 0xc], edx
mov edx, eax
neg edx
cmovns eax, edx
cmp eax, 1
setbe al
movzx eax, al
mov dword [esp], eax
call fcn.004471c0
call fcn.00492bc0
mov dword [eax], 0x4ab7f5
mov dword [eax + 4], 0x717
mov edx, dword [ebp - 0xdc]
mov eax, dword [edi + 0x28]
mov dword [esp + 4], str.expected__ld__got__ld_n
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
sub eax, edx
mov edx, eax
neg edx
cmovns eax, edx
cmp eax, 1
setbe al
movzx eax, al
mov dword [esp], eax
call fcn.004471c0
call fcn.00492bc0
mov dword [eax], 0x4ab7f5
mov dword [eax + 4], 0x719
mov edx, dword [ebp - 0xd8]
mov eax, dword [edi + 0x2c]
mov dword [esp + 4], str.expected__ld__got__ld_n
mov dword [esp + 0xc], edx
cmp edx, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004471c0
call fcn.00492bc0
mov dword [eax], 0x4ab7f5
mov dword [eax + 4], 0x71c
mov edx, dword [ebp - 0x84]
mov eax, dword [edi + 0x30]
mov dword [esp + 4], 0x4b09ba
mov dword [esp + 0xc], edx
cmp edx, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004471c0
call fcn.00492bc0
mov dword [eax], 0x4ab7f5
mov dword [eax + 4], 0x71e
mov edx, dword [ebp - 0x80]
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.expected__d__got__d_n
mov dword [esp + 0xc], edx
cmp edx, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004471c0
mov eax, 0x720
call fcn.00446860
mov edx, dword [ebp - 0x7c]
mov eax, dword [edi + 0x38]
mov dword [esp + 4], str.expected__d__got__d_n
cmp edx, eax
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], edx
movzx eax, al
mov dword [esp], eax
call fcn.004471c0
call fcn.00492bc0
mov dword [eax], 0x4ab7f5
mov dword [eax + 4], 0x722
mov edx, dword [ebp - 0x78]
mov eax, dword [edi + 0x3c]
mov dword [esp + 4], 0x4b09ba
mov dword [esp + 0xc], edx
cmp edx, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004471c0
mov eax, 0x724
call fcn.00446860
mov edx, dword [ebp - 0x58]
mov eax, dword [edi + 0x4c]
mov dword [esp + 4], str.expected__d__got__d_n
mov dword [esp + 8], eax
sub eax, edx
mov dword [esp + 0xc], edx
mov edx, eax
neg edx
cmovns eax, edx
cmp eax, 6
setbe al
movzx eax, al
mov dword [esp], eax
call fcn.004471c0
mov eax, 0x726
call fcn.00446860
mov edx, dword [ebp - 0x5c]
mov eax, dword [edi + 0x48]
mov dword [esp + 4], str.expected__d__got__d_n
mov dword [esp + 8], eax
sub eax, edx
mov dword [esp + 0xc], edx
mov edx, eax
neg edx
cmovns eax, edx
cmp eax, 6
setbe al
movzx eax, al
mov dword [esp], eax
call fcn.004471c0
mov ebx, dword [0x5b41f0]
call fcn.00492bc0
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
xor ecx, ecx
test ebx, ebx
mov ebx, edi
setne cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x4617b0
call fcn.00492bc0
mov dword [eax], 0x4ab7f5
mov dword [eax + 4], 0x729
mov edx, dword [ebp - 0x74]
mov eax, dword [ebx + 0x40]
mov dword [esp + 4], 0x4b09ba
mov dword [esp + 0xc], edx
cmp edx, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004471c0
call fcn.00492bc0
shr dword [eax + 0x10], 1
call fcn.00492bc0
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x461770
mov ebx, dword [0x5b41f0]
call fcn.00492bc0
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
xor ecx, ecx
test ebx, ebx
mov ebx, dword [ebp - 0x124]
setne cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x461830
call fcn.00492bc0
mov dword [eax], 0x4ab7f5
mov dword [eax + 4], 0x72c
mov edx, dword [ebp - 0x70]
mov eax, dword [ebx + 0x44]
mov dword [esp + 4], 0x4b09ba
mov dword [esp + 0xc], edx
cmp edx, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004471c0
call fcn.00492bc0
shr dword [eax + 0x10], 1
call fcn.00492bc0
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x4617f0
call fcn.00492bc0
mov dword [eax], 0x4ab7f5
mov esi, dword [ebp - 0x124]
mov dword [eax + 4], 0x72e
mov edx, dword [ebp - 0x54]
mov eax, dword [esi + 0x50]
mov dword [esp + 4], 0x4b09ba
mov dword [esp + 0xc], edx
cmp edx, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004471c0
mov ebx, dword [0x5b41f0]
call fcn.00492bc0
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
xor ecx, ecx
test ebx, ebx
mov ebx, esi
setne cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x4618f0
call fcn.00492bc0
mov dword [eax], 0x4ab7f5
mov dword [eax + 4], 0x731
mov edx, dword [ebp - 0x50]
mov eax, dword [ebx + 0x54]
mov dword [esp + 4], 0x4b09ba
mov dword [esp + 0xc], edx
cmp edx, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004471c0
call fcn.00492bc0
shr dword [eax + 0x10], 1
call fcn.00492bc0
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x4618b0
mov dword [esp + 8], 0
mov esi, dword [sym.imp.gdi32.dll_GetKerningPairsW]
mov dword [esp + 4], 0
mov edi, dword [ebp - 0x134]
mov dword [esp], edi
call esi
sub esp, 0xc
mov ebx, eax
lea eax, [eax*8]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_malloc]
mov dword [ebp - 0x13c], eax
mov edx, dword fs:[0x18]
mov dword [edx + 0x34], 0xdeadbeef
mov dword [ebp - 0x128], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [ebp - 0x134], edi
mov dword [esp], edi
call esi
sub esp, 0xc
mov edi, eax
call fcn.00492bc0
mov edx, dword [ebp - 0x128]
mov dword [eax], 0x4ab7f5
mov dword [eax + 4], 0x73c
mov eax, dword [edx + 0x34]
mov dword [esp + 4], str.got_error__lu__expected_ERROR_INVALID_PARAMETER_n
mov dword [esp + 8], eax
xor eax, eax
cmp dword [edx + 0x34], 0x57
sete al
mov dword [esp], eax
call fcn.004471c0
mov eax, 0x73e
call fcn.00446860
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.got__lu__expected_0_n
mov dword [esp], eax
call fcn.004471c0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x64
mov edi, dword [ebp - 0x134]
mov dword [esp], edi
call esi
sub esp, 0xc
mov edi, eax
call fcn.00492bc0
mov dword [eax], 0x4ab7f5
mov dword [eax + 4], 0x741
xor eax, eax
cmp ebx, edi
sete al
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 4], str.got__lu__expected__lu_n
call fcn.004471c0
mov eax, dword [ebp - 0x13c]
mov edx, ebx
shr edx, 1
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov edi, dword [ebp - 0x134]
mov dword [ebp - 0x128], edx
mov dword [esp], edi
call esi
sub esp, 0xc
mov edi, eax
mov eax, 0x744
call fcn.00446860
mov edx, dword [ebp - 0x128]
xor eax, eax
mov dword [esp + 8], edi
mov dword [esp + 4], str.got__lu__expected__lu_n
cmp edx, edi
mov dword [esp + 0xc], edx
sete al
mov dword [esp], eax
call fcn.004471c0
mov edi, dword [ebp - 0x13c]
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov eax, dword [ebp - 0x134]
mov dword [esp], eax
call esi
sub esp, 0xc
mov esi, eax
mov dword [ebp - 0x128], eax
call fcn.00492bc0
mov dword [eax], 0x4ab7f5
mov dword [eax + 4], 0x747
xor eax, eax
cmp ebx, esi
sete al
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], str.got__lu__expected__lu_n
mov dword [esp], eax
call fcn.004471c0
test esi, esi
je 0x461cad
mov eax, dword [ebp - 0x124]
xor ecx, ecx
mov dword [ebp - 0x138], 0
mov edx, dword [eax + 0x58]
lea esi, [esi]
lea esi, [esi]
mov ebx, dword [ebp - 0x124]
xor esi, esi
test edx, edx
jne 0x461b16
jmp 0x461ba8
add esi, 1
add ebx, 8
cmp esi, edx
je 0x461ba8
movzx eax, word [ebx + 0x5c]
cmp word [edi], ax
jne 0x461b08
movzx eax, word [ebx + 0x5e]
cmp word [edi + 2], ax
jne 0x461b08
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x12c], ecx
call fcn.00492bc0
mov dword [eax], 0x4ab7f5
mov dword [eax + 4], 0x754
mov eax, dword [ebx + 0x60]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x10], eax
movzx eax, word [edi + 2]
mov dword [esp + 0xc], eax
movzx eax, word [edi]
mov dword [esp + 4], str.pair__d:_d_got__d__expected__d_n
mov dword [esp + 8], eax
mov eax, dword [edi + 4]
cmp dword [ebx + 0x60], eax
sete al
add esi, 1
add ebx, 8
movzx eax, al
mov dword [esp], eax
call fcn.004471c0
mov edx, dword [ebp - 0x130]
add dword [ebp - 0x138], 1
mov ecx, dword [ebp - 0x12c]
cmp esi, edx
jne 0x461b16
lea esi, [esi]
add ecx, 1
add edi, 8
cmp dword [ebp - 0x128], ecx
jne 0x461af0
call fcn.00492bc0
mov dword [eax], 0x4ab7f5
mov dword [eax + 4], 0x75d
mov eax, dword [ebp - 0x124]
mov eax, dword [eax + 0x58]
mov dword [esp + 0xc], eax
mov ecx, dword [ebp - 0x138]
mov dword [esp + 4], str.got_matches__lu__expected__lu_n
cmp eax, ecx
mov dword [esp + 8], ecx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004471c0
mov eax, dword [ebp - 0x13c]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_free]
mov eax, dword [ebp - 0x148]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x134]
mov dword [esp], eax
mov eax, dword [ebp - 0x14c]
call eax
mov eax, dword [ebp - 0x144]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_DeleteObject]
sub esp, 4
add dword [ebp - 0x124], 0x12c
mov eax, dword [ebp - 0x124]
cmp eax, str.One_ntwo_3
jne 0x4613e3
mov eax, dword [ebp - 0x134]
mov dword [esp], 0
mov dword [esp + 4], eax
call dword [sym.imp.user32.dll_ReleaseDC]
sub esp, 8
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
call dword [sym.imp.user32.dll_ReleaseDC]
sub esp, 8
call fcn.00492bc0
mov dword [eax], 0x4ab7f5
mov dword [eax + 4], 0x705
mov dword [esp + 4], edi
mov dword [esp], str._s_is_not_installed_so_skipping_this_test_n
call fcn.00446a30
jmp 0x461c3a
mov dword [ebp - 0x138], 0
jmp 0x461bba