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

Disassembly:
push 0xffffffffffffffff
push 0x4d316f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x358
push ebx
mov ebx, dword [case.0x485021.32946]
push esi
push edi
mov edi, ecx
push 0
push 0
push 0x184
mov eax, dword [edi + 0x1a4]
mov dword [esp + 0x1c], edi
push eax
call ebx
push 0xffffffffffffffff
lea ecx, [edi + 0x2c4]
push 0
call fcn.00406140
lea ecx, [esp + 0x260]
push ecx
push 6
call fcn.0040ec10
lea edx, [esp + 0x268]
push 0
push edx
call fcn.0042bd00
push 0
mov esi, eax
push 0x5052b8
push 0x5052b4
push esi
call fcn.0042c190
mov ecx, eax
add esp, 0x20
test ecx, ecx
mov dword [esp + 0x58], ecx
jg 0x403c98
push 0
mov ecx, edi
call fcn.00404160
jmp 0x404066
mov eax, dword [0x50b848]
push ebp
mov dword [esp + 0x10], eax
xor ebp, ebp
mov dword [esp + 0x370], 0
test ecx, ecx
jle 0x404024
mov ebx, 1
jmp 0x403cc7
mov eax, dword [0x50b848]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
or eax, 0xffffffff
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
mov eax, dword [str.KEYWORD]
push ebp
push 0x5052b4
lea ecx, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x380], bl
call fcn.004ad3e0
mov edx, dword [esp + 0x20]
push 0x50fcb8
push 0x5052a8
push edx
lea eax, [esp + 0x7c]
push esi
push eax
call fcn.0042c0c0
add esp, 0x24
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x374], 2
call fcn.004b4644
lea ecx, [esp + 0x60]
mov byte [esp + 0x370], bl
call fcn.004b450b
mov ecx, dword [esp + 0x10]
push 0x50fcb8
push 0x5052a0
push ecx
lea edx, [esp + 0x60]
push esi
push edx
call fcn.0042c0c0
add esp, 0x14
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x374], 3
call fcn.004b4644
lea ecx, [esp + 0x54]
mov byte [esp + 0x370], bl
call fcn.004b450b
mov eax, dword [esp + 0x10]
push 0x50fcb8
push 0x505298
push eax
lea ecx, [esp + 0x64]
push esi
push ecx
call fcn.0042c0c0
add esp, 0x14
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x374], 4
call fcn.004b4644
lea ecx, [esp + 0x58]
mov byte [esp + 0x370], bl
call fcn.004b450b
mov edx, dword [esp + 0x10]
push 0x50fcb8
push 0x505288
push edx
push esi
lea eax, [esp + 0x60]
push eax
call fcn.0042c0c0
add esp, 0x14
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x374], 5
call fcn.004b4644
lea ecx, [esp + 0x50]
mov byte [esp + 0x370], bl
call fcn.004b450b
mov ecx, dword [esp + 0x10]
push 0xffffffffffffffff
push 0x505280
push ecx
push esi
call fcn.0042c190
mov edx, dword [esp + 0x20]
push 0xffffffffffffffff
push 0x505270
push edx
push esi
mov dword [esp + 0x58], eax
call fcn.0042c190
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x30]
push 0
push str.EnumFontFamiliesExA
push eax
push esi
call fcn.0042c190
mov ecx, dword [esp + 0x40]
push 0
push 0x50525c
push ecx
push esi
mov dword [esp + 0x80], eax
call fcn.0042c190
mov edx, dword [esp + 0x50]
add esp, 0x40
mov dword [esp + 0x48], eax
push ebx
push 0x505254
push edx
push esi
call fcn.0042c190
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x20]
push 0
push 0x505310
push eax
push esi
call fcn.0042c190
push 0
lea ecx, [esp + 0x188]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x34]
push esi
lea edx, [esp + 0x8c]
push ecx
push edx
push eax
call fcn.00403240
add esp, 0x34
test eax, eax
je 0x403ee9
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x24]
call fcn.004b4694
lea edx, [esp + 0x164]
lea ecx, [esp + 0x24]
push edx
call fcn.004b4694
mov edx, dword [esp + 0x10]
push ebx
lea eax, [esp + 0x168]
push esi
lea ecx, [esp + 0x6c]
push eax
push ecx
push edx
call fcn.00403240
add esp, 0x14
test eax, eax
je 0x403f28
lea eax, [esp + 0x64]
lea ecx, [esp + 0x30]
push eax
call fcn.004b4694
lea ecx, [esp + 0x164]
push ecx
lea ecx, [esp + 0x38]
call fcn.004b4694
lea eax, [edi + 0x2c4]
push 0xffffffffffffffff
mov edi, dword [eax + 8]
mov eax, dword [esp + 0x18]
lea edx, [edi + 1]
lea ecx, [eax + 0x2c4]
push edx
call fcn.00406140
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
add eax, 0x2c4
lea edx, [edi*8]
push ecx
sub edx, edi
mov ecx, dword [eax + 4]
lea ecx, [ecx + edx*8]
call fcn.004060b0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
push 0
mov ecx, dword [eax + 0x1a4]
push 0x180
push ecx
call dword [case.0x485021.32946]
lea ecx, [esp + 0x34]
mov byte [esp + 0x370], 0xc
call fcn.004b450b
lea ecx, [esp + 0x30]
mov byte [esp + 0x370], 0xb
call fcn.004b450b
lea ecx, [esp + 0x2c]
mov byte [esp + 0x370], 0xa
call fcn.004b450b
lea ecx, [esp + 0x28]
mov byte [esp + 0x370], 9
call fcn.004b450b
lea ecx, [esp + 0x24]
mov byte [esp + 0x370], 8
call fcn.004b450b
lea ecx, [esp + 0x20]
mov byte [esp + 0x370], 7
call fcn.004b450b
lea ecx, [esp + 0x1c]
mov byte [esp + 0x370], 6
call fcn.004b450b
lea ecx, [esp + 0x18]
mov byte [esp + 0x370], 0
call fcn.004b450b
mov eax, dword [esp + 0x5c]
inc ebp
cmp ebp, eax
jl 0x403cbe
mov ebx, dword [case.0x485021.32946]
mov edi, dword [esp + 0x14]
push 0
push 0x505308
push 0x5052b4
push esi
call fcn.0042c190
mov edx, dword [edi + 0x1a4]
add esp, 0x10
push 0
push eax
push 0x186
push edx
call ebx
mov ecx, edi
call fcn.00404210
lea ecx, [esp + 0x10]
mov dword [esp + 0x370], 0xffffffff
call fcn.004b450b
pop ebp
mov eax, dword [0x513f0c]
mov ecx, dword [edi + 0xb4]
push 0
push eax
push 0xf1
push ecx
call ebx
mov edx, dword [0x513f08]
mov eax, dword [edi + 0x78]
push 0
push edx
push 0xf1
push eax
call ebx
push 0xffffffffffffffff
push 0
push esi
call fcn.0042bdf0
mov ecx, dword [esp + 0x370]
add esp, 0xc
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x364
ret