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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, dword [0x476050]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 8]
push esi
mov dword [esp + 0x18], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
push edi
mov dword [esp + 0x18], eax
lea eax, [esp + 0x3c]
push 0
push eax
mov eax, dword [0x478c78]
push 0
push 0x30
mov dword [esp + 0x24], esi
mov eax, dword [eax + 0x150]
call eax
push 1
call fcn.00433baf
add esp, 4
push 0x2328
call fcn.0041bb10
mov ecx, dword [esi + 4]
mov dword [esp + 0x10], eax
cmp ecx, dword [esi + 8]
je 0x42c0aa
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x42c0b7
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.0042b320
push 1
call fcn.00433baf
add esp, 4
push 0x2329
call fcn.0041bb10
mov ecx, dword [esi + 4]
mov dword [esp + 0x10], eax
cmp ecx, dword [esi + 8]
je 0x42c0df
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x42c0ec
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.0042b320
push 1
call fcn.00433baf
add esp, 4
push 0x232a
call fcn.0041bb10
mov ecx, dword [esi + 4]
mov dword [esp + 0x10], eax
cmp ecx, dword [esi + 8]
je 0x42c114
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x42c121
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.0042b320
push 1
call fcn.00433baf
add esp, 4
push 0x232b
call fcn.0041bb10
mov ecx, dword [esi + 4]
mov dword [esp + 0x10], eax
cmp ecx, dword [esi + 8]
je 0x42c149
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x42c156
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.0042b320
push 1
call fcn.00433baf
add esp, 4
push 0x232c
call fcn.0041bb10
mov ecx, dword [esi + 4]
mov dword [esp + 0x10], eax
cmp ecx, dword [esi + 8]
je 0x42c17e
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x42c18b
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.0042b320
push 1
call fcn.00433baf
add esp, 4
push 0x232d
call fcn.0041bb10
mov ecx, dword [esi + 4]
mov dword [esp + 0x10], eax
cmp ecx, dword [esi + 8]
je 0x42c1b3
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x42c1c0
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.0042b320
push 1
call fcn.00433baf
add esp, 4
push 0x232e
call fcn.0041bb10
mov ecx, dword [esi + 4]
mov dword [esp + 0x10], eax
cmp ecx, dword [esi + 8]
je 0x42c1e8
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x42c1f5
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.0042b320
push 1
call fcn.00433baf
add esp, 4
push 0x232f
call fcn.0041bb10
mov ecx, dword [esi + 4]
mov dword [esp + 0x10], eax
cmp ecx, dword [esi + 8]
je 0x42c21d
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x42c22a
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.0042b320
mov edi, dword [esi + 4]
lea eax, [esp + 0x20]
sub edi, dword [esi]
xorps xmm0, xmm0
push eax
mov eax, dword [0x478c78]
movaps xmmword [esp + 0x24], xmm0
sar edi, 2
mov eax, dword [eax + 0x298]
call eax
movzx eax, word [esp + 0x2e]
imul eax, edi
inc eax
cdq
idiv edi
lea eax, [edi - 1]
inc edx
cmp edx, eax
jg 0x42c26d
cmp edx, 2
mov edi, edx
mov eax, 1
cmovl edi, eax
mov eax, dword [esi]
push 1
mov eax, dword [eax + edi*4 - 4]
mov dword [esi + 0x68], eax
call fcn.00433baf
add esp, 4
push 0x2330
call fcn.0041bb10
push 1
mov dword [esi + 0x6c], eax
call fcn.00433baf
add esp, 4
push 0x2331
call fcn.0041bb10
push 1
mov dword [esi + 0x70], eax
call fcn.00433baf
add esp, 4
push 0x2332
call fcn.0041bb10
push 1
mov dword [esi + 0x74], eax
call fcn.00433baf
add esp, 4
push 0x2333
call fcn.0041bb10
push 1
mov dword [esi + 0x78], eax
call fcn.00433baf
add esp, 4
push 0x2334
call fcn.0041bb10
push 1
mov dword [esi + 0x7c], eax
call fcn.00433baf
add esp, 4
push 0x2335
call fcn.0041bb10
push 1
mov dword [esi + 0x80], eax
call fcn.00433baf
add esp, 4
push 0x2336
call fcn.0041bb10
push 1
mov dword [esi + 0x84], eax
call fcn.00433baf
add esp, 4
push 0x2337
call fcn.0041bb10
push 1
mov dword [esi + 0x88], eax
call fcn.00433baf
add esp, 4
push 0x2338
call fcn.0041bb10
mov dword [esi + 0x8c], eax
mov eax, dword [0x478c78]
push 0x48
push 0x60
push 8
mov eax, dword [eax + 0x25c]
call eax
push str.Century_Gothic
push 0x30
push 0
push 0
push 1
push 0
push 0
push 0
push 0
push 0x190
push 0
push 0
neg eax
push 0
push eax
mov eax, dword [0x478c78]
mov eax, dword [eax + 0x13c]
call eax
mov dword [esi + 0xc8], eax
mov eax, dword [0x478c78]
push 0x48
push 0x60
push 8
mov eax, dword [eax + 0x25c]
call eax
push str.Eras_Bold_ITC
push 0x30
push 0
push 0
push 1
push 0
push 0
push 0
push 0
push 0x190
push 0
push 0
neg eax
push 0
push eax
mov eax, dword [0x478c78]
mov eax, dword [eax + 0x13c]
call eax
mov ecx, dword [esp + 0x44]
sub esp, 0x18
mov dword [esi + 0xcc], eax
mov edx, esp
mov eax, dword [esi + 0x68]
mov edi, dword [eax]
sub ecx, edi
mov esi, dword [eax + 4]
sub ecx, 5
mov eax, dword [esp + 0x60]
mov dword [edx + 4], ecx
sub eax, esi
mov ecx, dword [esp + 0x2c]
sub eax, 5
push ecx
push ecx
push 0x80088
push 0x82000000
push dword [esp + 0x40]
mov dword [edx + 8], eax
push dword [esp + 0x48]
mov dword [edx + 0x10], edi
mov dword [edx + 0x14], esi
mov dword [edx], vtable.gui::rectangle.1.0
mov dword [edx + 0xc], vtable.gui::rectangle.0
call fcn.0042a650
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
xor ecx, esp
call fcn.00433ba1
mov esp, ebp
pop ebp
ret 8