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

Disassembly:
push 0xffffffffffffffff
push 0x4603e2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.0045ba69
mov eax, dword [eax + 4]
lea ecx, [esp + 0xb4]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x188]
push ecx
mov edx, dword [eax + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [ebp + 0x188]
xor edi, edi
add esi, 0x31350
cmp dword [esi + 4], edi
jg 0x422015
push str.Index_out_of_range.
call fcn.00437f40
add esp, 4
mov eax, dword [esi + 8]
xor esi, esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], esi
xor ebx, ebx
cmp ebx, edi
jl 0x42202d
cmp esi, dword [ebp + 0x20]
jl 0x42203a
push str.Index_out_of_range.
call fcn.00437f40
add esp, 4
mov ecx, dword [ebp + 0x24]
cmp dword [ecx + ebx], edi
je 0x42211d
cmp ebx, edi
jl 0x42204f
cmp esi, dword [ebp + 0x20]
jl 0x42205c
push str.Index_out_of_range.
call fcn.00437f40
add esp, 4
mov edx, dword [ebp + 0x24]
mov edi, dword [ebp + 0x188]
add edi, 0x3132c
mov esi, dword [edx + ebx]
add esi, 0xe
test esi, esi
jl 0x42207a
cmp esi, dword [edi + 4]
jl 0x422087
push str.Index_out_of_range.
call fcn.00437f40
add esp, 4
mov ecx, dword [edi + 8]
lea eax, [esi + esi*2]
lea edi, [esp + 0xc4]
lea eax, [eax + eax*8]
test ebx, ebx
lea esi, [ecx + eax*4]
mov ecx, 0x1b
rep movsd dword es:[edi], dword [esi]
jl 0x4220b0
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 0x20]
cmp edx, eax
jl 0x4220bd
push str.Index_out_of_range.
call fcn.00437f40
add esp, 4
mov edx, dword [0x48decc]
mov ecx, dword [ebp + 4]
push edx
mov edx, dword [0x48dec8]
push edx
mov edx, dword [ebp + 0x24]
mov eax, dword [ecx]
mov esi, dword [edx + ebx + 8]
push esi
mov edx, dword [edx + ebx + 4]
push edx
lea edx, [esp + 0x40]
push edx
call dword [eax + 0x14]
push eax
mov eax, dword [esp + 0x30]
push 0x48dec8
push eax
lea ecx, [esp + 0xd0]
call fcn.00435420
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc4]
add ecx, 0x3f7
push ecx
push edx
lea ecx, [ebp + 0x40]
call fcn.00434580
mov esi, dword [esp + 0x10]
xor edi, edi
add ebx, 0xc
inc esi
cmp ebx, 0x24
mov dword [esp + 0x10], esi
jl 0x422024
mov ecx, dword [esp + 0x24]
mov al, byte [ecx + 0xf1]
test al, al
je 0x422170
mov al, byte [ecx + 0xee]
test al, al
je 0x422170
mov esi, dword [ebp + 0x188]
add esi, 0x31344
cmp dword [esi + 4], 3
jg 0x422165
push str.Index_out_of_range.
call fcn.00437f40
add esp, 4
mov ecx, dword [esi + 8]
add ecx, 0x30
call fcn.00432e20
cmp dword [ebp + 0xc], 2
jne 0x422352
lea eax, [esp + 0x24]
lea ecx, [esp + 0x30]
push eax
push edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call fcn.0041a630
push eax
push 3
lea ecx, [esp + 0x1c]
call fcn.00424ce0
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], 0x465f48
mov dword [esp + 0x138], edi
xor ebx, ebx
test edi, edi
jl 0x4221bb
cmp ebx, dword [ebp + 0x20]
jl 0x4221c8
push str.Index_out_of_range.
call fcn.00437f40
add esp, 4
mov ecx, dword [ebp + 0x24]
cmp dword [ecx + edi], 0
je 0x42222c
test edi, edi
jl 0x4221da
cmp ebx, dword [ebp + 0x20]
jl 0x4221e7
push str.Index_out_of_range.
call fcn.00437f40
add esp, 4
mov esi, dword [ebp + 0x24]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
add esi, edi
cmp edx, eax
jl 0x422205
push str.Stack_is_full.
call fcn.00437f40
add esp, 4
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
lea eax, [eax + eax*2]
lea edx, [ecx + eax*4]
mov eax, dword [esi]
mov dword [edx], eax
mov ecx, dword [esi + 4]
mov dword [edx + 4], ecx
mov eax, dword [esi + 8]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
add edi, 0xc
inc ebx
cmp edi, 0x24
jl 0x4221b2
mov eax, dword [esp + 0x20]
mov edi, 0x4651bc
test eax, eax
je 0x422336
lea ecx, [esp + 0x3c]
call fcn.0042a150
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], 1
push ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 0x48], 0x21
mov dword [esp + 0x44], 0
call fcn.0040e200
mov edx, dword [esp + 0x20]
push ebp
lea ecx, [esp + 0x4c]
mov dword [esp + 0xb0], edx
call fcn.00418a00
mov esi, dword [ebp + 0x188]
add esi, 0x3132c
cmp dword [esi + 4], 0xf
jg 0x4222b0
push str.Index_out_of_range.
call fcn.00437f40
add esp, 4
mov eax, dword [esi + 8]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [ebp + 0x188]
mov eax, dword [eax + 0x6b0]
mov dword [esp + 0xb4], eax
call fcn.0040d7e0
mov edx, dword [esp + 0xa8]
mov byte [esp + 0x138], 5
push edx
mov dword [esp + 0xa4], edi
call fcn.00448201
mov eax, dword [esp + 0x98]
mov byte [esp + 0x13c], 4
push eax
mov dword [esp + 0x94], edi
call fcn.00448201
mov ecx, dword [esp + 0x78]
mov byte [esp + 0x140], 3
push ecx
mov dword [esp + 0x74], 0x4651b8
call fcn.00448201
add esp, 0xc
lea ecx, [esp + 0x48]
mov byte [esp + 0x138], 2
call fcn.004189c0
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x138], 0xffffffff
push edx
mov dword [esp + 0x18], edi
call fcn.00448201
add esp, 4
mov ecx, dword [esp + 0x130]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x12c
ret