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

Disassembly:
sub esp, 0x6c
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x1c]
push esi
mov esi, dword [esp + 0x74]
push edi
push eax
lea edx, [esi + 0x114]
push ecx
push edx
push esi
call fcn.00445d70
add esp, 0x10
test eax, eax
je 0x4498fd
push ebx
lea eax, [esp + 0x48]
push ebp
push eax
push esi
call fcn.00445bf0
mov ecx, dword [esp + 0x8c]
lea edx, [esp + 0x34]
push 0
lea eax, [esp + 0x48]
push edx
push eax
push esi
mov dword [esi + 0x38], ecx
call fcn.0044ace0
lea ecx, [esp + 0x54]
push ecx
push esi
call fcn.004495b0
lea edx, [esp + 0x6c]
push 0
lea eax, [esp + 0x80]
push edx
push eax
push esi
call fcn.0044ace0
lea ecx, [esp + 0x8c]
push ecx
push esi
call fcn.004495b0
movsx eax, word [esi + 0x104]
mov ecx, dword [esi + 0x108]
add esp, 0x38
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x30]
mov edx, dword [ecx + edx*8 + 0x14]
lea edi, [eax + eax*8]
shl edi, 3
sub edi, eax
xor ecx, ecx
mov dword [esp + 0x80], ecx
lea edi, [edx + edi*4]
mov dword [esp + 0x14], edi
mov dx, word [edi + 0x114]
test dx, dx
mov dword [esp + 0x18], edx
jle 0x44978d
mov eax, dword [edi + 0x118]
mov bx, word [esp + 0x38]
mov dword [esp + 0x84], eax
mov edx, dword [esp + 0x84]
xor ebp, ebp
movsx eax, cx
shl eax, 4
add eax, edx
mov dx, word [eax + 0xe]
test dx, dx
mov dword [esp + 0x10], edx
jle 0x44977a
mov edi, dword [edi + 0x110]
mov dx, word [eax + 0xc]
movsx eax, dx
lea ecx, [eax + eax*2]
lea eax, [edi + ecx*4]
mov cx, word [edi + ecx*4 + 8]
cmp bx, cx
jl 0x449766
movsx eax, word [eax + 0xa]
movsx ecx, cx
add eax, ecx
movsx ecx, bx
cmp ecx, eax
jl 0x4497d9
inc ebp
inc edx
cmp bp, word [esp + 0x10]
jl 0x449743
mov ecx, dword [esp + 0x80]
mov edi, dword [esp + 0x14]
inc ecx
cmp cx, word [esp + 0x18]
mov dword [esp + 0x80], ecx
jl 0x44971b
mov eax, dword [esp + 0x30]
xor ecx, ecx
mov edx, dword [esp + 0x50]
pop ebp
cmp eax, edx
mov word [esp + 0x30], cx
pop ebx
jne 0x4497e6
cmp cx, word [esp + 0x4c]
jne 0x4497e6
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
push eax
push ecx
lea eax, [esp + 0x70]
push edx
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [esi + 0x38]
lea ecx, [esp + 0x64]
push ecx
push edx
call dword [sym.imp.USER32.dll_InvertRect]
pop edi
pop esi
add esp, 0x6c
ret
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x30]
jmp 0x44978f
lea eax, [esp + 0x24]
push 3
lea ecx, [esp + 0x68]
push eax
push ecx
push esi
call fcn.0044ace0
lea edx, [esp + 0x74]
push edx
push esi
call fcn.004495b0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov edi, dword [sym.imp.USER32.dll_InvertRect]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x84]
add esp, 0x18
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x38]
lea eax, [esp + 0x14]
mov dword [esp + 0x20], edx
push eax
push ecx
call edi
lea edx, [esp + 0x24]
push edx
push esi
call fcn.004495e0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x50]
add esp, 8
cmp eax, ecx
jne 0x449870
mov cx, word [esp + 0x2c]
cmp cx, word [esp + 0x4c]
je 0x4498a2
lea edx, [esp + 0x24]
push 3
lea eax, [esp + 0x18]
push edx
push eax
push esi
call fcn.0044ace0
lea ecx, [esp + 0x24]
push ecx
push esi
call fcn.004495b0
mov eax, dword [esi + 0x38]
add esp, 0x18
lea edx, [esp + 0x14]
push edx
push eax
call edi
lea ecx, [esp + 0x24]
push ecx
jmp 0x44984f
lea edx, [esp + 0x44]
push 3
lea eax, [esp + 0x68]
push edx
push eax
push esi
call fcn.0044ace0
lea ecx, [esp + 0x74]
push ecx
push esi
call fcn.004495b0
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x7c]
add esp, 0x18
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x38]
lea edx, [esp + 0x14]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x68]
push edx
push eax
mov dword [esp + 0x20], ecx
call edi
pop edi
pop esi
add esp, 0x6c
ret