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

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x60]
mov edi, dword [esi + 0x68]
mov edx, dword [esi + 0x84]
add eax, edi
add eax, edx
test eax, eax
jle 0x42d990
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
call fcn.0045d8c6
mov edi, dword [esi + 0x6c]
mov ebx, dword [esi + 0x60]
mov ebp, eax
lea eax, [esi + 0x94]
xor ecx, ecx
xor edx, edx
test eax, eax
mov dword [esp + 0x14], ebp
jne 0x42d660
mov dword [esp + 0x10], eax
jmp 0x42d667
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
push 0
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
push ecx
push ebp
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
call fcn.0042cf10
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
mov edi, dword [esi + 0x6c]
mov eax, edx
sub eax, ebx
add esp, 0x1c
cmp edi, eax
jge 0x42d741
mov ecx, dword [esi + 0x74]
mov eax, ecx
sub eax, edx
mov edx, dword [esi + 0x70]
add eax, edx
add eax, edi
add eax, ebx
test eax, eax
jle 0x42d6ea
mov ebx, dword [esi + 0x60]
sub ecx, eax
lea eax, [esi + 0x9c]
xor edx, edx
add ecx, edi
test eax, eax
jne 0x42d6cb
mov dword [esp + 0x10], eax
jmp 0x42d6d2
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
push 0
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0xc], ebx
jmp 0x42d71e
mov ebx, dword [esi + 0x60]
lea eax, [esi + 0x9c]
xor edx, edx
add ecx, edi
test eax, eax
jne 0x42d701
mov dword [esp + 0x10], eax
jmp 0x42d708
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
push 0
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0xc], ebx
push ecx
push ebp
call fcn.0042cf10
mov edx, dword [esi + 0x74]
mov ebx, dword [esp + 0x34]
add edi, edx
mov edx, dword [esp + 0x3c]
mov eax, edx
add esp, 0x1c
sub eax, ebx
cmp edi, eax
jl 0x42d69e
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov edi, dword [esi + 0x60]
sub ecx, eax
cmp edi, ecx
jge 0x42d7b4
mov eax, dword [esi + 0x84]
xor ebx, ebx
mov ecx, dword [esi + 0x5c]
lea edx, [esi + 0xa4]
add eax, edi
test edx, edx
jne 0x42d76f
mov dword [esp + 0x10], edx
jmp 0x42d776
mov edx, dword [edx + 4]
mov dword [esp + 0x10], edx
push 0
sub esp, 0x10
mov edx, esp
mov dword [edx], ebx
mov dword [edx + 4], edi
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x24]
push eax
push ebp
call fcn.0042cf10
mov eax, dword [esi + 0x84]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
add edi, eax
sub ecx, edx
add esp, 0x1c
cmp edi, ecx
jl 0x42d75a
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esi + 0x70]
mov eax, edx
sub eax, ecx
lea ecx, [esi + 0xac]
sub eax, ebx
xor edi, edi
sub edx, ebx
mov ebx, dword [esi + 0x60]
test ecx, ecx
jne 0x42d7d4
mov dword [esp + 0x10], ecx
jmp 0x42d7db
mov ecx, dword [ecx + 4]
mov dword [esp + 0x10], ecx
push 0
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 4], edi
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x24]
push edx
push ebp
mov dword [ecx + 0xc], ebx
call fcn.0042cf10
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
mov edi, dword [esi + 0x60]
mov edx, eax
sub edx, ecx
add esp, 0x1c
cmp edi, edx
jge 0x42d876
mov edx, dword [esi + 0x88]
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
mov ecx, eax
sub eax, ebx
sub ecx, ebx
lea ebx, [esi + 0xb4]
sub ecx, dword [esi + 0x64]
add edx, edi
test ebx, ebx
jne 0x42d837
mov dword [esp + 0x10], ebx
jmp 0x42d83e
mov ebx, dword [ebx + 4]
mov dword [esp + 0x10], ebx
push 0
sub esp, 0x10
mov ebx, esp
mov dword [ebx], ecx
mov dword [ebx + 4], edi
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x24]
push eax
push ebp
mov dword [ebx + 0xc], edx
call fcn.0042cf10
mov eax, dword [esp + 0x40]
mov edx, dword [esi + 0x88]
mov ecx, dword [esp + 0x38]
mov ebx, eax
add edi, edx
sub ebx, ecx
add esp, 0x1c
cmp edi, ebx
jl 0x42d814
mov ebx, dword [esi + 0x68]
mov edx, eax
sub edx, ecx
sub eax, ecx
lea ecx, [esi + 0xbc]
xor edi, edi
sub edx, ebx
mov ebx, dword [esi + 0x78]
test ecx, ecx
jne 0x42d896
mov dword [esp + 0x10], ecx
jmp 0x42d89d
mov ecx, dword [ecx + 4]
mov dword [esp + 0x10], ecx
push 0
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edi
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x24]
push edx
push ebp
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], eax
call fcn.0042cf10
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
mov edi, dword [esi + 0x78]
mov ecx, eax
sub ecx, ebx
add esp, 0x1c
cmp edi, ecx
jge 0x42d938
mov edx, dword [esi + 0x80]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
mov ecx, eax
sub eax, ebx
sub ecx, ebx
lea ebx, [esi + 0xc4]
sub ecx, dword [esi + 0x68]
add edx, edi
test ebx, ebx
jne 0x42d8f9
mov dword [esp + 0x10], ebx
jmp 0x42d900
mov ebx, dword [ebx + 4]
mov dword [esp + 0x10], ebx
push 0
sub esp, 0x10
mov ebx, esp
mov dword [ebx], edi
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edx
mov edx, dword [esp + 0x24]
push edx
push ebp
mov dword [ebx + 0xc], eax
call fcn.0042cf10
mov eax, dword [esp + 0x3c]
mov edx, dword [esi + 0x80]
mov ebx, dword [esp + 0x34]
mov ecx, eax
add edi, edx
sub ecx, ebx
add esp, 0x1c
cmp edi, ecx
jl 0x42d8d6
mov edx, dword [esi + 0x7c]
mov ebp, dword [esp + 0x1c]
mov ecx, eax
sub eax, ebx
sub ecx, edx
mov edx, dword [esp + 0x24]
mov edi, edx
sub ecx, ebx
sub edi, ebp
lea ebx, [esi + 0xcc]
sub edi, dword [esi + 0x68]
sub edx, ebp
test ebx, ebx
je 0x42d961
mov ebx, dword [ebx + 4]
push 0
sub esp, 0x10
mov ebp, esp
push ebx
mov dword [ebp], ecx
mov dword [ebp + 4], edi
mov edi, dword [esp + 0x2c]
push edi
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], edx
call fcn.0042cf10
mov edx, dword [edi + 4]
mov eax, dword [esi + 0x1c]
add esp, 0x1c
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret