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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x502e11
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x5ff740]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
xor edi, edi
cmp dword [ebp + 0x10], edi
je 0x4941f0
mov ecx, dword [ebp + 0x14]
cmp ecx, edi
je 0x4941f0
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
push dword [ebp + 0x10]
lea ecx, [esp + 0x28]
mov dword [esp + 0x30], eax
call fcn.0040253b
push edi
push 0xa
lea ecx, [esp + 0x2c]
mov dword [esp + 0x88], edi
call fcn.00414092
mov ebx, dword [ebp + 8]
mov esi, eax
cmp esi, edi
jl 0x493d5e
lea edi, [ebx + 0x11c]
push esi
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x2c]
call fcn.00407984
mov byte [esp + 0x80], 1
mov ecx, dword [edi + 8]
push eax
push ecx
mov ecx, edi
call fcn.004c96e8
mov byte [esp + 0x80], 0
mov ecx, dword [esp + 0x30]
add ecx, 0xfffffff0
call fcn.0040285b
inc esi
push esi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x2c]
call fcn.004078e3
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x84], 2
call fcn.004025da
mov byte [esp + 0x80], 0
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.0040285b
push 0
push 0xa
lea ecx, [esp + 0x2c]
call fcn.00414092
mov esi, eax
test esi, esi
jge 0x493cde
lea edi, [ebx + 0x11c]
mov eax, dword [edi + 8]
lea ecx, [esp + 0x24]
push ecx
push eax
mov ecx, edi
mov dword [esp + 0x38], edi
call fcn.004c96e8
call fcn.004be6f3
push eax
lea ecx, [esp + 0x1c]
call fcn.004027f9
mov byte [esp + 0x80], 3
call fcn.004be6f3
push eax
lea ecx, [esp + 0x20]
call fcn.004027f9
and dword [esp + 0x20], 0
mov byte [esp + 0x80], 4
mov eax, dword [ebx + 0x124]
test eax, eax
jle 0x4940d0
lea esi, [ebx + 0x130]
jmp 0x493dc5
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
mov ecx, edi
call fcn.0041419a
push eax
lea ecx, [esp + 0x1c]
call fcn.004025da
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
je 0x494110
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.00495770
mov ecx, dword [esp + 0x2c]
cmp dword [eax], ecx
jle 0x494110
or edi, 0xffffffff
lea ecx, [esp + 0x18]
test edi, edi
jge 0x493e1e
push dword [ebx + 0x118]
call fcn.0040db79
jmp 0x493e6d
lea eax, [edi + 1]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.004078e3
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x84], 5
call fcn.004025da
mov byte [esp + 0x80], 4
mov ecx, dword [esp + 0x34]
add ecx, 0xfffffff0
call fcn.0040285b
push dword [ebx + 0x118]
lea ecx, [esp + 0x20]
call fcn.0040db79
test eax, eax
jl 0x494014
lea eax, [eax + edi + 1]
mov dword [esp + 0x28], eax
test eax, eax
jl 0x494014
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x20]
call fcn.00407984
mov ecx, dword [ebp + 0xc]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.00495770
mov ecx, dword [esp + 0x2c]
cmp dword [eax], ecx
mov ecx, dword [esp + 0x38]
setg byte [esp + 0x17]
add ecx, 0xfffffff0
call fcn.0040285b
cmp byte [esp + 0x17], 0
je 0x49400b
lea ecx, [esp + 0x18]
test edi, edi
jl 0x493f53
inc edi
push edi
lea eax, [esp + 0x40]
push eax
call fcn.00407984
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x84], 8
call fcn.004025da
mov byte [esp + 0x80], 4
mov ecx, dword [esp + 0x3c]
add ecx, 0xfffffff0
call fcn.0040285b
lea ebx, [esp + 0x1c]
call fcn.0040db9b
mov eax, dword [esi + 8]
mov ecx, ebx
push ecx
push eax
mov ecx, esi
call fcn.004c96e8
push edi
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x20]
call fcn.004078e3
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x84], 9
call fcn.004025da
mov byte [esp + 0x80], 4
mov ecx, dword [esp + 0x40]
add ecx, 0xfffffff0
call fcn.0040285b
lea ebx, [esp + 0x18]
call fcn.0040dbe8
or edi, 0xffffffff
jmp 0x493fe5
mov eax, dword [esp + 0x28]
inc eax
push eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x48]
push eax
call fcn.00407984
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x84], 0xa
call fcn.004025da
mov byte [esp + 0x80], 4
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffff0
call fcn.0040285b
lea ebx, [esp + 0x1c]
call fcn.0040db9b
mov eax, dword [esi + 8]
mov ecx, ebx
push ecx
push eax
mov ecx, esi
call fcn.004c96e8
push dword [esp + 0x28]
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x20]
call fcn.004078e3
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x84], 0xb
call fcn.004025da
mov byte [esp + 0x80], 4
mov ecx, dword [esp + 0x48]
add ecx, 0xfffffff0
call fcn.0040285b
lea ebx, [esp + 0x18]
call fcn.0040dbe8
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.00495770
mov ecx, dword [esp + 0x2c]
cmp dword [eax], ecx
jle 0x49410a
mov ebx, dword [ebp + 8]
jmp 0x493e09
mov edi, dword [esp + 0x28]
jmp 0x493e09
lea ecx, [esp + 0x18]
test edi, edi
jl 0x494114
inc edi
push edi
lea eax, [esp + 0x50]
push eax
call fcn.00407984
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x84], 6
call fcn.004025da
mov byte [esp + 0x80], 4
mov ecx, dword [esp + 0x4c]
add ecx, 0xfffffff0
call fcn.0040285b
lea ebx, [esp + 0x1c]
call fcn.0040db9b
mov eax, dword [esi + 8]
mov ecx, ebx
push ecx
push eax
mov ecx, esi
call fcn.004c96e8
push edi
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x20]
call fcn.004078e3
push eax
mov ecx, ebx
mov byte [esp + 0x84], 7
call fcn.004025da
mov byte [esp + 0x80], 4
mov ecx, dword [esp + 0x50]
add ecx, 0xfffffff0
call fcn.0040285b
call fcn.0040dbe8
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], 0
je 0x4940b9
mov ecx, ebx
mov eax, dword [esi + 8]
push ecx
push eax
mov ecx, esi
call fcn.004c96e8
mov ebx, dword [ebp + 8]
inc dword [esp + 0x20]
mov eax, dword [esp + 0x20]
cmp eax, dword [ebx + 0x124]
jl 0x493dc1
cmp dword [ebp + 0x18], 0
mov eax, dword [ebx + 0x138]
mov dword [esp + 0x2c], eax
jne 0x49419f
mov esi, dword [ebp + 0x14]
mov eax, dword [ebx + 0x114]
lea edi, [esp + 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, dword [esp + 0x68]
and dword [esp + 0x20], 0
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x70], eax
jmp 0x49419a
lea ecx, [esp + 0x18]
jmp 0x4940ad
lea ecx, [esp + 0x18]
mov eax, dword [esi + 8]
push ecx
push eax
mov ecx, esi
call fcn.004c96e8
jmp 0x4940bc
mov eax, dword [esp + 0x20]
cmp eax, dword [ebx + 0x138]
jge 0x49419f
lea ecx, [ebx + 0x130]
call fcn.0041419a
push eax
lea ecx, [esp + 0x54]
call fcn.00402305
cmp dword [ebp + 0x1c], 0
mov byte [esp + 0x80], 0xc
mov esi, dword [esp + 0x50]
jne 0x49416f
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, dword [esi - 0xc]
push 0x820
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [ebp + 0xc]
push eax
push esi
call dword [edx + 0x68]
push dword [ebx + 0x114]
lea eax, [esp + 0x68]
push 0
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
inc dword [esp + 0x20]
lea ecx, [esi - 0x10]
mov byte [esp + 0x80], 4
call fcn.0040285b
mov eax, dword [esp + 0x70]
cmp eax, dword [edi + 0xc]
jle 0x494122
mov ecx, dword [esp + 0x30]
push 0xffffffffffffffff
push 0
call fcn.004c932b
push 0xffffffffffffffff
push 0
lea ecx, [ebx + 0x130]
call fcn.004c932b
mov ebx, dword [ebx + 0x7c]
cmp dword [esp + 0x2c], ebx
jge 0x4941c8
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.0040285b
mov eax, ebx
jmp 0x4941f2
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18