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

Disassembly:
sub esp, 0xc4
mov eax, dword [0x4b5a38]
mov ecx, dword [esp + 0xcc]
push ebx
push ebp
push esi
mov esi, dword [eax + ecx*4]
xor ebx, ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], 0x320
mov dword [esp + 0x58], 0x258
movsx edx, word [esi + 0xa]
movsx eax, word [esi + 0xe]
movsx ecx, word [esi + 0xc]
push edi
movsx edi, word [esi + 8]
add eax, edx
mov dword [esp + 0x24], edx
lea edx, [esp + 0x20]
add ecx, edi
mov dword [esp + 0x2c], eax
push edx
lea eax, [esp + 0x54]
mov dword [esp + 0x2c], ecx
push eax
mov ecx, edx
push ecx
mov dword [esp + 0x2c], edi
call dword [sym.imp.USER32.dll_IntersectRect]
movzx eax, word [esi + 8]
xor edx, edx
cmp dx, ax
jle 0x434c73
cwde
cdq
mov ebp, eax
xor ebp, edx
sub ebp, edx
mov dword [esp + 0x30], ebp
jmp 0x434c79
mov dword [esp + 0x30], ebx
mov ebp, ebx
movzx eax, word [esi + 0xa]
xor ecx, ecx
cmp cx, ax
jle 0x434c92
cwde
cdq
mov edi, eax
xor edi, edx
sub edi, edx
mov dword [esp + 0x34], edi
jmp 0x434c98
mov dword [esp + 0x34], ebx
mov edi, ebx
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
sub esi, ecx
lea edx, [esi + ebp]
sub eax, ebx
mov dword [esp + 0x38], edx
lea edx, [eax + edi]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0xe4]
cmp edx, 8
mov dword [esp + 0x14], eax
jge 0x434cce
mov edi, edx
jmp 0x434cd5
mov edi, 0x10
sub edi, edx
mov edx, dword [esp + 0xe0]
add edx, 0xffffffca
cmp edx, 7
ja case.default.0x434ce8
jmp dword [edx*4 + 0x43526c]
mov eax, esi
sar eax, 1
imul eax, edi
cdq
and edx, 7
add eax, edx
sar eax, 3
mov ebp, ecx
sub ebp, eax
mov eax, dword [esp + 0x14]
sar eax, 1
imul eax, edi
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [esp + 0x14], eax
add ebx, eax
mov eax, esi
imul eax, edi
mov edi, dword [esp + 0x2c]
sub edi, dword [esp + 0x14]
cdq
sub edi, dword [esp + 0x24]
and edx, 7
add eax, edx
mov esi, eax
sar esi, 3
sub esi, ecx
add esi, dword [esp + 0x28]
lea eax, [edi + ebx]
push eax
lea ecx, [esi + ebp]
push ecx
push ebx
push ebp
lea edx, [esp + 0x50]
push edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], edi
call dword [sym.imp.USER32.dll_SetRect]
jmp 0x434f91
mov eax, esi
sar eax, 1
imul eax, edi
cdq
and edx, 7
add eax, edx
sar eax, 3
mov ebp, ecx
sub ebp, eax
mov eax, esi
imul eax, edi
cdq
and edx, 7
add eax, edx
mov esi, eax
mov eax, dword [esp + 0x14]
sar eax, 1
imul eax, edi
mov edi, dword [esp + 0x2c]
cdq
and edx, 7
add eax, edx
sar eax, 3
sub edi, eax
sub edi, dword [esp + 0x24]
mov eax, dword [esp + 0x24]
sar esi, 3
sub esi, ecx
add esi, dword [esp + 0x28]
lea ecx, [edi + eax]
push ecx
lea edx, [esi + ebp]
push edx
push eax
push ebp
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], edi
call dword [sym.imp.USER32.dll_SetRect]
jmp 0x434f91
sar eax, 1
imul eax, edi
cdq
and edx, 7
add eax, edx
sar eax, 3
sub ebx, eax
mov eax, esi
mov esi, dword [esp + 0x28]
sar eax, 1
imul eax, edi
cdq
and edx, 7
add eax, edx
sar eax, 3
sub esi, eax
mov eax, dword [esp + 0x14]
imul eax, edi
cdq
and edx, 7
add eax, edx
mov edi, eax
sar edi, 3
sub edi, dword [esp + 0x24]
sub esi, ecx
add edi, dword [esp + 0x2c]
lea edx, [edi + ebx]
push edx
lea eax, [esi + ecx]
push eax
push ebx
push ecx
mov ebp, ecx
lea ecx, [esp + 0x50]
push ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], edi
call dword [sym.imp.USER32.dll_SetRect]
jmp 0x434f91
mov eax, esi
sar eax, 1
imul eax, edi
cdq
and edx, 7
add eax, edx
mov esi, eax
mov eax, dword [esp + 0x14]
sar eax, 1
imul eax, edi
cdq
and edx, 7
add eax, edx
sar eax, 3
sub ebx, eax
mov eax, dword [esp + 0x28]
sar esi, 3
sub eax, esi
sub eax, ecx
lea ebp, [esi + ecx]
mov esi, eax
mov eax, dword [esp + 0x14]
imul eax, edi
cdq
and edx, 7
add eax, edx
mov edi, eax
sar edi, 3
sub edi, dword [esp + 0x24]
lea eax, [esi + ebp]
add edi, dword [esp + 0x2c]
lea ecx, [esp + 0x40]
lea edx, [edi + ebx]
push edx
push eax
push ebx
push ebp
push ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], edi
call dword [sym.imp.USER32.dll_SetRect]
jmp 0x434f91
sar eax, 1
imul eax, edi
cdq
and edx, 7
add eax, edx
sar eax, 3
sub ebx, eax
sub eax, dword [esp + 0x24]
add eax, dword [esp + 0x2c]
mov edi, eax
jmp 0x434e0d
sar eax, 1
imul eax, edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, dword [esp + 0x24]
sar edi, 3
sub edi, eax
add edi, dword [esp + 0x2c]
mov ebp, ecx
lea edx, [edi + eax]
push edx
lea edx, [esi + ecx]
push edx
push eax
push ecx
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], edi
call dword [sym.imp.USER32.dll_SetRect]
jmp 0x434f91
mov eax, esi
sar eax, 1
imul eax, edi
mov edi, dword [esp + 0x14]
cdq
and edx, 7
add eax, edx
mov esi, eax
mov eax, dword [esp + 0x24]
sar esi, 3
sub esi, ecx
add esi, dword [esp + 0x28]
lea edx, [edi + eax]
push edx
lea edx, [esi + ecx]
push edx
push eax
push ecx
lea eax, [esp + 0x50]
push eax
mov ebp, ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], edi
call dword [sym.imp.USER32.dll_SetRect]
jmp 0x434f91
mov eax, esi
sar eax, 1
imul eax, edi
mov edi, dword [esp + 0x14]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov ebp, ecx
sub ebp, eax
sub eax, ecx
add eax, dword [esp + 0x28]
mov dword [esp + 0x14], edi
mov esi, eax
mov eax, dword [esp + 0x24]
lea ecx, [edi + eax]
push ecx
lea edx, [esi + ebp]
push edx
push eax
push ebp
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x30], esi
call dword [sym.imp.USER32.dll_SetRect]
jmp 0x434f91
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
sub edx, dword [esp + 0x34]
mov dword [esp + 0x18], edx
fidiv dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fild dword [esp + 0x18]
fidiv dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x1c]
test ebp, ebp
jge 0x434fe3
mov eax, ebp
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul st(1)
call fcn.004815a0
add dword [esp + 0x30], eax
fld dword [esp + 0x14]
test ebx, ebx
jge 0x435005
mov eax, ebx
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul st(1)
call fcn.004815a0
add dword [esp + 0x34], eax
mov eax, dword [esp + 0x58]
lea ecx, [esi + ebp]
cmp eax, ecx
jge 0x43502b
sub esi, eax
add esi, ebp
mov dword [esp + 0x18], esi
fild dword [esp + 0x18]
fmulp st(2)
fxch st(1)
call fcn.004815a0
sub dword [esp + 0x38], eax
jmp 0x43502d
fstp st(1)
mov eax, dword [esp + 0x5c]
lea edx, [edi + ebx]
cmp eax, edx
jge 0x43504f
sub edi, eax
add edi, ebx
mov dword [esp + 0x18], edi
fimul dword [esp + 0x18]
call fcn.004815a0
sub dword [esp + 0x3c], eax
jmp 0x435051
fstp st(0)
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x68], edx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x4c]
push ecx
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x74], eax
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x54]
push ecx
mov edx, eax
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
mov ecx, dword [0x4b5a38]
xor esi, esi
xor ebp, ebp
cmp dword [ecx], 0xffffffff
je 0x435250
mov edi, dword [esp + 0x18]
xor eax, eax
lea ebx, [esi + 0x20]
mov edx, dword [eax + ecx]
cmp byte [edx + 0x28], 0
je 0x435238
cmp byte [edx + 0x38], 0
jne 0x435238
cmp ebp, dword [esp + 0xdc]
jne 0x43520d
xor eax, eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov word [esp + 0xc0], ax
mov al, byte [edx + 0x16]
mov dword [esp + 0x70], vtable.CBuffer.0
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc8], esi
mov dword [esp + 0xcc], esi
cmp al, 0x18
je 0x4351a2
cmp al, bl
jne 0x4351bd
mov ecx, dword [edx + 0x20]
movsx edi, word [edx + 0xe]
push ecx
movsx ecx, word [edx + 0xc]
neg edi
mov edx, ebx
lea eax, [esp + 0x74]
call fcn.00408d50
mov edi, 1
jmp 0x4351bd
mov eax, dword [edx + 0x20]
movsx edi, word [edx + 0xe]
movsx ecx, word [edx + 0xc]
push eax
neg edi
mov edx, ebx
lea eax, [esp + 0x74]
call fcn.00408d50
xor edi, edi
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
sub ecx, eax
push edi
push ecx
mov ecx, dword [esp + 0x38]
sub edx, ecx
push edx
mov edx, dword [esp + 0x2c]
push eax
push ecx
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x84]
push eax
mov eax, dword [esp + 0x3c]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x44]
sub ecx, edx
push ecx
mov ecx, dword [esp + 0xf8]
mov dword [esp + 0xe4], 0x4b5adc
call fcn.00410140
jmp 0x435238
movsx eax, byte [edx + 0x13]
movsx ecx, byte [edx + 0x18]
push 1
push 1
push 0xff
push eax
mov eax, dword [0x4b3d38]
push ecx
movsx ecx, word [edx + 0xa]
push eax
movsx eax, word [edx + 8]
push ecx
push eax
call fcn.0043f370
add esp, 0x20
mov ecx, dword [0x4b5a38]
inc ebp
lea eax, [ebp*4]
cmp dword [eax + ecx], 0xffffffff
jne 0x4350b0
mov edx, dword [0x4b3d38]
mov ebx, 1
call fcn.0043f220
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc4
ret