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

Disassembly:
sub esp, 0x40
push ebx
push ebp
mov ebp, dword [esp + 0x4c]
test ebp, ebp
je 0x43483c
mov ebx, dword [esp + 0x58]
test ebx, ebx
je 0x43483c
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
push esi
mov esi, dword [esp + 0x54]
push edi
mov edi, dword [esp + 0x5c]
lea ecx, [edi + eax]
push ecx
lea eax, [esi + edx]
push eax
push edi
push esi
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_SetRect]
add ebp, 0x10
push ebp
lea edx, [esp + 0x24]
push edx
mov eax, edx
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x434832
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x28]
mov ecx, eax
sub ecx, esi
mov esi, dword [esp + 0x64]
sub ebp, eax
mov eax, dword [esp + 0x2c]
add esi, ecx
mov ecx, dword [esp + 0x24]
sub eax, ecx
mov edx, ecx
sub edx, edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x70], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ecx
add edi, edx
mov edx, dword [eax + 4]
push edx
push 0
push 0
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], edi
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esp + 0x70]
lea edx, [edi + ecx]
push edx
lea eax, [esi + ebp]
push eax
push edi
push esi
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.USER32.dll_SetRect]
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x34]
push eax
mov ecx, eax
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x434832
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov edx, eax
sub edx, esi
add ecx, edx
mov edx, dword [esp + 0x34]
mov esi, edx
sub esi, edi
add dword [esp + 0x24], esi
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
sub esi, eax
sub edi, edx
mov edx, dword [esp + 0x54]
mov eax, dword [edx]
mov ebp, dword [edx + 0xc]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x20], ecx
movzx eax, word [eax + 0xe]
shr eax, 3
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
movzx eax, word [eax + 0xe]
shr eax, 3
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0xc]
neg eax
push edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x58]
push ecx
push eax
neg ebp
call fcn.0041b870
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push ecx
push edx
push ebx
mov dword [esp + 0x34], eax
call fcn.0041b870
mov ecx, dword [esp + 0x34]
add esp, 0x18
test ecx, ecx
je 0x434832
test eax, eax
je 0x434832
mov edx, dword [esp + 0x10]
cmp edx, dword [esp + 0x14]
jne 0x4347ac
push edi
push esi
push edx
mov edx, dword [esp + 0x24]
push ebp
push edx
push ecx
push eax
mov eax, dword [0x58c6a8]
push 0x434440
push 7
push eax
call sub.VCOMP90.DLL__vcomp_fork
add esp, 0x28
jmp 0x4347f4
cmp edx, 4
jne 0x4347c9
cmp dword [esp + 0x14], 3
jne 0x4347c9
mov edx, dword [esp + 0x18]
push edi
push esi
push ebp
push edx
push ecx
push eax
push 0x4344c0
jmp 0x4347e4
cmp edx, 3
jne 0x434801
cmp dword [esp + 0x14], 4
jne 0x434801
mov edx, dword [esp + 0x18]
push edi
push esi
push ebp
push edx
push ecx
push eax
push 0x434570
mov eax, dword [0x58c6a8]
push 6
push eax
call sub.VCOMP90.DLL__vcomp_fork
add esp, 0x24
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x40
ret
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x5c]
push 0xcc0020
push edi
push esi
push ecx
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x68]
push ebx
push eax
push ecx
push edx
call fcn.00434300
add esp, 0x24
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x40
ret
pop ebp
xor eax, eax
pop ebx
add esp, 0x40
ret