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

Disassembly:
sub esp, 0x98
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0xb4]
mov eax, dword [ecx]
mov ebx, dword [ecx + 8]
movzx ebp, byte [esi + 0x20]
sub ebx, eax
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0xc]
push edi
mov edi, dword [ecx + 4]
sub eax, edi
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x5c]
lea edx, [eax*8]
shr ebp, 3
sub edx, eax
imul ebp, dword [edx*8 + 0x47a5a8]
cmp dword [esi + 0x1980], ebp
mov dword [esp + 0x38], ebx
jge 0x429476
mov eax, dword [esi + 0x197c]
test eax, eax
je 0x429408
push eax
call fcn.0045d145
add esp, 4
lea eax, [ebp + 1]
push eax
call fcn.0045cd98
add esp, 4
test eax, eax
mov dword [esi + 0x197c], eax
jne 0x429469
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0xb4]
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0xb0]
push ecx
push edx
mov ecx, esi
call fcn.00424c30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret 0x10
mov ecx, dword [esp + 0xb8]
mov dword [esi + 0x1980], ebp
cmp byte [esi + 0x21], 0x18
jne 0x42949c
mov eax, 0xff
cmp word [esi + 0x24], ax
jne 0x42949c
cmp word [esi + 0x26], ax
jne 0x42949c
cmp word [esi + 0x28], ax
jne 0x42949c
mov byte [esi + 0x1988], 1
jmp 0x4294a3
mov byte [esi + 0x1988], 0
cmp dword [esi + 0x64], 0
je 0x429882
mov eax, dword [esp + 0x10]
imul eax, ebx
cmp eax, 0x1000
mov dword [esp + 0x30], eax
jl 0x429882
mov eax, dword [esi + 0x5c]
lea ecx, [eax*8]
sub ecx, eax
add ecx, ecx
add ecx, ecx
mov eax, dword [ecx + ecx + 0x47a5a8]
add ecx, ecx
mov ecx, dword [ecx + 0x47a5ac]
cmp ebx, ecx
jg 0x4294e8
mov ecx, ebx
cdq
idiv ecx
mov ecx, dword [esp + 0x10]
add ecx, edi
cmp edi, ecx
mov ebp, edi
mov dword [esp + 0x28], eax
jge 0x429674
mov edx, dword [esp + 0x14]
lea ecx, [ebx + edx]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x1c], ecx
mov ecx, eax
imul ecx, ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x4c], ecx
jmp 0x429524
mov eax, dword [esp + 0x28]
mov ecx, ebp
sub ecx, edi
cmp ecx, eax
jl 0x42958a
mov edx, dword [esp + 0x1c]
lea ebx, [eax + edi]
mov eax, dword [esp + 0x14]
push ebx
push edx
push edi
push eax
lea ecx, [esp + 0x68]
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov edi, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xac]
lea edx, [esp + 0x58]
push edx
push edi
push eax
push ecx
mov ecx, esi
call fcn.004291f0
mov ecx, dword [esp + 0xb0]
push eax
push edi
call fcn.00449d40
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x4c]
sub dword [esp + 0x10], edx
sub dword [esp + 0x18], eax
mov edi, ebx
mov edx, dword [esp + 0x10]
lea ecx, [ebp + 0x10]
lea eax, [edx + edi]
cmp ecx, eax
mov dword [esp + 0x54], ecx
jg 0x4295a6
mov dword [esp + 0x24], 0x10
jmp 0x4295b0
mov eax, edx
sub eax, ebp
add eax, edi
mov dword [esp + 0x24], eax
mov ebx, dword [esp + 0x14]
mov edx, ebx
cmp edx, dword [esp + 0x1c]
jge 0x429663
mov eax, dword [esp + 0x38]
mov dword [esp + 0x34], eax
jmp 0x4295d0
lea eax, [ebx + 0x10]
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
mov eax, 0x10
jle 0x4295e6
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
push 0
lea ecx, [esp + 0x34]
push ecx
push edx
push eax
mov eax, dword [esp + 0xbc]
push ebp
push ebx
push eax
mov ecx, esi
call fcn.00427ff0
test al, al
je 0x42964c
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x30]
push edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0xb8]
sub ecx, ebp
add ecx, edi
push ecx
push edx
push ebp
push ebx
push eax
mov ecx, esi
call fcn.00428670
mov eax, dword [esp + 0x2c]
imul eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x18]
je 0x429681
cmp eax, 0x800
jge 0x429681
mov ebx, dword [esp + 0x50]
sub dword [esp + 0x34], 0x10
cmp ebx, dword [esp + 0x1c]
jl 0x4295d0
mov ecx, dword [esp + 0x54]
mov ebp, ecx
mov ecx, dword [esp + 0x10]
lea eax, [ecx + edi]
cmp ebp, eax
jl 0x429520
mov eax, dword [esp + 0xb8]
push eax
jmp 0x429883
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0xc0]
push ecx
push edx
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x30]
push edi
push ebp
push eax
mov ecx, esi
mov dword [esp + 0x50], ebx
call fcn.004287e0
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
push ebx
push ecx
push edi
push ebp
lea edx, [esp + 0x78]
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
add eax, ebx
push eax
push ebp
push ebx
push ecx
lea edx, [esp + 0x88]
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
add eax, ebx
push eax
push ecx
push ebx
lea eax, [edx + ebp]
push eax
lea ecx, [esp + 0x98]
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
add edx, edi
push edx
mov edx, dword [esp + 0x18]
push eax
lea eax, [ebx + ecx]
push eax
push edx
lea eax, [esp + 0xa8]
push eax
call dword [sym.imp.USER32.dll_SetRect]
xor edx, edx
mov dword [esp + 0x18], edx
jmp 0x429750
cmp edx, 2
jne 0x429812
lea ecx, [ebx + 1]
push ecx
lea edx, [ebp + 1]
push edx
push ebx
push ebp
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov ecx, dword [esi + 0x197c]
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x60], edx
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
push ecx
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
push ebx
push ebp
mov ecx, esi
call fcn.00426770
mov edx, dword [esp + 0xb4]
push edx
call fcn.00428010
mov ecx, dword [esi + 0x1974]
mov edi, eax
mov eax, dword [esi + 0x1978]
push eax
push ecx
mov ecx, dword [esp + 0xb8]
call fcn.00449d40
mov edx, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb0]
push edi
push edx
call fcn.00449d40
mov eax, dword [esi + 0x1978]
mov edx, dword [esp + 0x18]
lea ecx, [eax + edi - 0xc]
add dword [esi + 0x54], ecx
add eax, edi
add dword [esi + 0x58], eax
mov eax, edx
shl eax, 4
mov edi, dword [esp + eax + 0x68]
cmp edi, dword [esp + eax + 0x70]
lea ecx, [esp + eax + 0x68]
je 0x429863
mov edi, dword [esp + eax + 0x6c]
cmp edi, dword [esp + eax + 0x74]
je 0x429863
mov edi, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
push ecx
mov ecx, dword [esp + 0xb0]
push edi
push eax
push ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0xb0]
push eax
push edi
call fcn.00449d40
mov edx, dword [esp + 0x18]
add edx, 1
cmp edx, 4
mov dword [esp + 0x18], edx
jl 0x429750
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x98
ret 0x10
push ecx
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
push ecx
push edx
push eax
mov ecx, esi
call fcn.004291f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret 0x10