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

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
mov esi, dword [esp + 0x44]
push edi
mov edi, dword [esp + 0x44]
cmp byte [edi + 0x36], 0
je 0x43535a
cmp byte [esi + 0x78], 7
mov ax, word [edi + 0x54]
mov word [esi + 0x70], ax
mov cx, word [edi + 0x58]
mov word [esi + 0x72], cx
jne 0x4352d9
cmp byte [esp + 0x4c], 0
je 0x4352e9
mov dx, word [edi + 0x5c]
mov word [esi + 0x74], dx
mov ax, word [edi + 0x60]
mov word [esi + 0x76], ax
mov edx, dword [esi]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
or ebx, 0xffffffff
cmp dword [edi + 0x54], ebx
jne 0x435308
mov ax, word [esp + 0x20]
mov word [esi + 0x70], ax
cmp dword [edi + 0x58], ebx
jne 0x435316
mov cx, word [esp + 0x24]
mov word [esi + 0x72], cx
mov eax, dword [esi]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [edi + 0x5c], ebx
jne 0x435335
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x20]
mov word [esi + 0x74], cx
cmp dword [edi + 0x60], ebx
je 0x435344
cmp byte [esi + 0x78], 0
jne 0x435597
mov edx, dword [esp + 0x2c]
sub edx, dword [esp + 0x24]
mov word [esi + 0x76], dx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 0xc
movzx eax, word [esi + 0x6e]
mov edx, dword [edi]
lea ecx, [esp + 0x30]
push ecx
push edx
mov dword [esp + 0x50], eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ecx, dword [edi + 0x40]
mov ebx, dword [edi + 0x44]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x14], ebx
mov ebp, 1
test eax, eax
jne 0x4353a3
mov dword [esp + 0x4c], ebp
test ecx, ecx
je 0x4353a3
mov dword [esp + 0x4c], ecx
test edx, edx
jne 0x4353b3
mov dword [esp + 0x1c], ebp
test ebx, ebx
je 0x4353b3
mov dword [esp + 0x1c], ebx
cmp dword [edi + 0x188], 0
je 0x4353ca
push 0xf
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub ebx, eax
mov dword [esp + 0x14], ebx
mov ecx, dword [esi]
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
mov ebp, dword [esp + 0x38]
sub eax, edx
mov dword [esp + 0x24], edx
lea edx, [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [edi]
push edx
push eax
sub ebp, ecx
mov dword [esp + 0x28], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0x20]
mov eax, ecx
imul eax, dword [esp + 0x44]
cdq
idiv dword [esp + 0x4c]
mov edi, dword [esp + 0x24]
mov word [esi + 0x70], ax
mov eax, edi
imul eax, ebx
cdq
idiv dword [esp + 0x1c]
mov ebx, dword [esp + 0x1c]
mov word [esi + 0x72], ax
mov eax, ebp
imul eax, dword [esp + 0x44]
cdq
idiv dword [esp + 0x4c]
mov word [esi + 0x74], ax
mov eax, dword [esp + 0x18]
imul eax, dword [esp + 0x14]
cdq
idiv ebx
mov word [esi + 0x76], ax
mov eax, dword [esp + 0x48]
test ax, ax
je 0x435597
test eax, 0x100
je 0x4354b8
mov word [esi + 0x74], bp
test al, 6
jne 0x4354b8
test al, 8
je 0x435487
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x4c]
cdq
sub eax, edx
sar eax, 1
mov edx, ecx
sub edx, eax
mov word [esi + 0x70], dx
jmp 0x4354b4
mov eax, dword [esp + 0x4c]
cdq
sub eax, edx
sar eax, 1
cmp ecx, eax
jle 0x4354b4
mov ebx, dword [esp + 0x4c]
mov eax, ecx
sub eax, ebx
add eax, ebp
imul eax, dword [esp + 0x44]
cdq
idiv ebx
mov ebx, dword [esp + 0x1c]
sub eax, ebp
add eax, dword [esp + 0x44]
mov word [esi + 0x70], ax
mov eax, dword [esp + 0x48]
test eax, 0x200
je 0x435510
mov dx, word [esp + 0x18]
mov word [esi + 0x76], dx
test al, 0x60
jne 0x435510
test al, al
jns 0x4354e5
mov eax, dword [esp + 0x14]
sub eax, ebx
cdq
sub eax, edx
sar eax, 1
mov edx, edi
sub edx, eax
mov word [esi + 0x72], dx
jmp 0x43550c
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
cmp edi, eax
jle 0x43550c
mov eax, edi
sub eax, ebx
add eax, dword [esp + 0x18]
imul eax, dword [esp + 0x14]
cdq
idiv ebx
sub eax, dword [esp + 0x18]
add eax, dword [esp + 0x14]
mov word [esi + 0x72], ax
mov eax, dword [esp + 0x48]
mov edx, eax
and edx, 2
je 0x43551b
mov word [esi + 0x70], cx
test al, 4
je 0x43554f
test dx, dx
je 0x43553b
sub cx, word [esi + 0x70]
sub cx, word [esp + 0x4c]
add cx, word [esp + 0x44]
add cx, bp
mov word [esi + 0x74], cx
jmp 0x43554f
sub ecx, dword [esp + 0x4c]
sub cx, word [esi + 0x74]
add cx, word [esp + 0x44]
add cx, bp
mov word [esi + 0x70], cx
mov ecx, eax
and ecx, 0x20
je 0x43555a
mov word [esi + 0x72], di
test al, 0x40
je 0x435597
test cx, cx
je 0x435582
sub di, word [esi + 0x72]
sub di, bx
add di, word [esp + 0x14]
add di, word [esp + 0x18]
mov word [esi + 0x76], di
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 0xc
sub di, word [esi + 0x76]
sub di, bx
add di, word [esp + 0x14]
add di, word [esp + 0x18]
mov word [esi + 0x72], di
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 0xc