Function at 0x431488
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
mov ebx, dword [esp + 0xa4]
mov esi, dword [esp + 0xa8]
mov eax, dword [ebx + 0x28]
mov edi, dword [eax + 0x50]
cmp dword [esi + 0xc], 0x5e7380
je 0x4314c2
mov dword [esp + 4], esi
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call fcn.0042edfc
mov eax, dword [esi + 0x10]
test eax, eax
je 0x431690
mov ecx, dword [eax]
test ecx, ecx
je 0x431688
mov ebp, dword [ebx]
mov edx, dword [ebx + 8]
lea edx, [edx + edx*4]
shl edx, 4
add edx, dword [ebp + 0x88]
cmp dword [eax + 0x10], edx
je 0x4318bc
mov dword [esp + 0x58], 0
mov eax, dword [eax + 8]
mov dword [esp + 0x3c], eax
mov dword [esp], esi
call fcn.0042ee3c
mov eax, dword [esp + 0x3c]
mov ebp, dword [eax + 0xc]
test ebp, ebp
je 0x431540
mov ecx, dword [ebx]
mov eax, dword [ebx + 8]
lea edx, [eax + eax*4]
shl edx, 4
add edx, dword [ecx + 0x88]
mov eax, ebp
cmp edx, dword [ebp + 0x10]
jne 0x431539
jmp 0x431674
cmp dword [eax + 0x10], edx
je 0x431674
mov eax, dword [eax + 0x4c]
test eax, eax
jne 0x431530
mov edx, dword [edi + 0x64]
mov dword [esp], esi
mov eax, dword [0x68bb7c]
mov dword [esp + 0x2c], edx
call dword [eax + 0x558]
mov dword [esp + 4], eax
add edi, 0x38
mov dword [esp], edi
mov edx, dword [esp + 0x2c]
call edx
mov dword [esp + 0x40], eax
test eax, eax
je 0x4316f0
mov eax, dword [eax + 0xc]
inc dword [eax]
add eax, 8
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], 0
call fcn.0047c788
mov edi, eax
test eax, eax
je 0x4318c4
mov dword [edi], 1
mov dword [edi + 4], 1
mov eax, dword [esp + 0x3c]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x40]
mov dword [edi + 0xc], eax
mov edx, dword [ebx]
mov eax, dword [ebx + 8]
lea eax, [eax + eax*4]
shl eax, 4
add eax, dword [edx + 0x88]
mov dword [edi + 0x10], eax
mov dword [edi + 0x4c], ebp
mov eax, dword [esp + 0x3c]
mov dword [eax + 0xc], edi
lea eax, [edi + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], 0x60012c
mov dword [esp], edi
call fcn.0047cb14
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x43160c
mov eax, dword [edi + 0x44]
mov dword [edi + 0x14], eax
shl eax, 3
je 0x4316d4
mov dword [edi + 0x14], eax
mov ecx, dword [edi + 0x40]
mov ebp, ecx
shr ebp, 0x1f
add ebp, ecx
sar ebp, 1
mov dword [edi + 0x18], ebp
mov eax, dword [edi + 0x28]
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [esp + 0x2c], ecx
call fcn.00431420
mov ebx, eax
mov edx, 0x66666667
imul edx
sar edx, 2
sar ebx, 0x1f
sub edx, ebx
mov ecx, dword [esp + 0x2c]
je 0x4316c4
mov dword [edi + 0x1c], edx
add edx, ebp
cmp ecx, edx
jge 0x431663
sub ecx, ebp
mov dword [edi + 0x1c], ecx
test ecx, ecx
je 0x4316e0
mov dword [esi + 0x10], edi
mov eax, edi
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
inc dword [eax]
inc dword [eax + 4]
mov dword [esi + 0x10], eax
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], esi
call fcn.0042ee3c
mov dword [esp + 0x58], 0
mov ebp, dword [edi + 0x30]
mov dword [esp], esi
mov eax, dword [0x68bb7c]
call dword [eax + 0x558]
lea edx, [esp + 0x58]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], edi
call ebp
mov dword [esp + 0x3c], eax
jmp 0x431508
mov dword [edi + 0x1c], 1
mov edx, 1
jmp 0x431654
mov dword [edi + 0x14], 1
jmp 0x431618
dec ebp
mov dword [edi + 0x18], ebp
mov dword [edi + 0x1c], 1
jmp 0x431663
mov dword [esp], esi
mov eax, dword [0x68bb7c]
call dword [eax + 0x558]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0047c4a8
mov edi, eax
test eax, eax
jne 0x431597
mov dword [esp], esi
mov eax, dword [0x68bb7c]
call dword [eax + 0x7c]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x38], eax
mov ecx, 0x18
xor eax, eax
mov edi, dword [esp + 0x38]
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x558]
mov edi, eax
mov al, byte [eax]
cmp al, 0x2d
je 0x431912
cmp al, 0x2a
je 0x431a58
lea edx, [esp + 0x64]
mov dword [esp + 0x4c], edx
lea eax, [esp + 0x5c]
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [0x68bb7c]
call dword [eax + 0xbc]
test eax, eax
jne 0x4319d2
mov eax, dword [esp + 0x5c]
test eax, eax
jle 0x4319d2
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x558]
mov dword [esp], eax
call fcn.00415f7c
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x5c]
cmp eax, 1
jle 0x43181a
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0xa0]
test eax, eax
jne 0x431a0e
mov eax, dword [esp + 0x60]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x5c]
cmp eax, 3
je 0x431b08
mov dword [esp + 0x44], 2
cmp dword [esp + 0x44], eax
jge 0x4319b0
mov edi, dword [esp + 0x44]
shl edi, 2
jmp 0x431851
mov dword [esp + 0x70], eax
inc dword [esp + 0x44]
add edi, 4
mov edx, dword [esp + 0x44]
cmp edx, dword [esp + 0x5c]
jge 0x4319b0
mov eax, dword [esp + 0x64]
mov eax, dword [eax + edi]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x60034c
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0047e7a8
mov dword [esp + 0x60], eax
cmp eax, 0xffffffff
jne 0x431838
mov eax, dword [esp + 0x64]
mov eax, dword [eax + edi]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x600374
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0047e7a8
mov dword [esp + 0x60], eax
cmp eax, 0xffffffff
je 0x431b51
mov dword [esp + 0x74], eax
jmp 0x43183c
inc ecx
mov dword [eax], ecx
jmp 0x431668
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4318de
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x1b8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.internal_system_font_engine_problem
mov dword [esp + 4], str.failed_to_allocate_font_due_to
mov edx, dword [esp + 0xa0]
mov dword [esp], edx
mov eax, dword [0x68bb7c]
call dword [eax + 0x120]
xor eax, eax
jmp 0x431668
cmp byte [edi + 1], 0x2a
je 0x431a58
mov dword [esp + 4], 0x2d
lea eax, [edi + 1]
mov dword [esp], eax
call sub.msvcrt.dll_strchr
test eax, eax
je 0x431960
movzx eax, byte [eax - 1]
mov edx, dword [sym.imp.msvcrt.dll___mb_cur_max]
cmp dword [edx], 1
jne 0x431af3
mov edx, dword [sym.imp.msvcrt.dll__pctype]
mov edx, dword [edx]
mov ax, word [edx + eax*2]
and eax, 8
movzx eax, ax
test eax, eax
je 0x431a58
lea eax, [esp + 0x64]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov edx, dword [esp + 0xa0]
mov dword [esp], edx
mov eax, dword [0x68bb7c]
call dword [eax + 0xbc]
test eax, eax
jne 0x431a0e
lea eax, [esp + 0x68]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0xa0]
call fcn.0042f1e0
test eax, eax
jne 0x431a0e
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
mov dword [esp + 0x30], eax
dec eax
mov edx, dword [esp + 0x48]
mov dword [edx], eax
test eax, eax
jle 0x431ae0
lea eax, [esp + 0x68]
jmp 0x431579
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x431a0e
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x5fff76
mov dword [esp + 8], edi
mov dword [esp + 4], str.font__
mov edx, dword [esp + 0xa0]
mov dword [esp], edx
mov eax, dword [0x68bb7c]
call dword [eax + 0x120]
mov eax, dword [esp + 0x58]
test eax, eax
je 0x431a28
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [0x68bb7c]
call dword [eax + 0x1b8]
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
mov dword [esp + 0x34], eax
dec eax
mov edx, dword [esp + 0x48]
mov dword [edx], eax
test eax, eax
jg 0x43190b
mov dword [esp], edx
mov eax, dword [0x68bb7c]
call dword [eax + pe_nt_image_headers32]
xor eax, eax
jmp 0x431668
mov dword [esp + 8], 0
lea edx, [esp + 0x68]
mov dword [esp + 4], edx
mov dword [esp], edi
call fcn.00431084
test eax, eax
je 0x4319b0
lea edx, [esp + 0x64]
mov dword [esp + 0x4c], edx
mov dword [esp + 0xc], edx
lea eax, [esp + 0x5c]
mov dword [esp + 0x44], eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov edx, dword [esp + 0xa0]
mov dword [esp], edx
mov eax, dword [0x68bb7c]
call dword [eax + 0xbc]
test eax, eax
jne 0x431a0e
lea eax, [esp + 0x68]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0xa0]
call fcn.0042f1e0
test eax, eax
jne 0x43176e
jmp 0x4319b0
mov dword [esp], edx
mov eax, dword [0x68bb7c]
call dword [eax + pe_nt_image_headers32]
jmp 0x4319c9
mov dword [esp + 4], 8
mov dword [esp], eax
call sub.msvcrt.dll__isctype
jmp 0x431958
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 8]
mov dword [esp + 4], eax
mov edx, dword [esp + 0xa0]
mov dword [esp], edx
mov eax, dword [0x68bb7c]
call dword [eax + 0xbc]
test eax, eax
jne 0x431a0e
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x44], 0
jmp 0x431822
mov eax, dword [esp + 0x64]
mov eax, dword [eax + edi]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x600398
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0047e7a8
mov dword [esp + 0x60], eax
test eax, eax
je 0x431b89
mov dword [esp + 0x78], eax
jmp 0x43183c
mov eax, dword [esp + 0x64]
mov eax, dword [eax + edi]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x6003b4
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0047e7a8
mov dword [esp + 0x60], eax
test eax, eax
je 0x431bc1
mov dword [esp + 0x7c], eax
jmp 0x43183c
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x431a0e
mov eax, dword [0x68bb7c]
mov ebx, dword [eax + 0x120]
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + edi]
mov dword [esp], edx
call dword [eax + 0x558]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x6000cf
mov dword [esp + 8], eax
mov dword [esp + 4], str.unknown_font_style__
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call ebx
jmp 0x431a0e