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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x59aac8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
cmp byte [edi + 0x24], bl
mov byte [edi + 0x10], bl
jne 0x4a1b8b
cmp byte [edi + 0x27], bl
je 0x4a1b8b
call fcn.004988c0
mov ebp, eax
mov ecx, ebp
call fcn.004989a0
test al, al
je 0x4a1b8b
mov eax, dword [0x6142fc]
push str._pq
push eax
mov esi, 0xc
call fcn.0055f260
mov ecx, dword [ebp]
mov dl, byte [ecx + 4]
add esp, 8
test eax, eax
mov ecx, ebp
setne byte [esp + 0x16]
mov byte [esp + 0x17], dl
call fcn.00498770
test al, al
jne 0x4a1691
cmp byte [esp + 0x16], bl
jne 0x4a1691
cmp byte [esp + 0x17], bl
jne 0x4a1691
mov esi, 0xc8
mov ecx, ebp
call fcn.004987c0
mov ecx, dword [edi + 0x14]
add ecx, esi
cmp eax, ecx
jb 0x4a1b8b
mov ecx, ebp
call fcn.004987c0
mov dword [edi + 0x14], eax
mov dword [esp + 0x40], vtable.TWindowClearFlags.0
mov dword [esp + 0x44], 0xfffffbff
mov byte [esp + 0x48], 1
mov ecx, dword [edi + 0x18]
cmp ecx, ebx
mov dword [esp + 0x68], ebx
je 0x4a16e5
cmp dword [ecx + 8], ebx
je 0x4a16e5
call fcn.004a1070
mov edx, dword [eax]
push edx
lea ecx, [esp + 0x44]
call fcn.004a0900
mov ecx, edi
call fcn.004a12a0
test eax, eax
je 0x4a1b7a
call fcn.0049d890
mov ecx, ebp
mov esi, eax
call fcn.004989a0
test al, al
je 0x4a1726
push 1
mov ecx, ebp
call fcn.00498c00
mov ecx, eax
call fcn.004d9460
push 1
mov ecx, edi
call fcn.004a12a0
mov ecx, eax
call fcn.004a47d0
cmp dword [edi + 4], ebx
lea eax, [edi + 4]
push ebx
je 0x4a1945
sub esp, 8
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.004143d0
mov ecx, esi
call fcn.0049cc00
cmp al, bl
je 0x4a175d
push 1
mov ecx, edi
call fcn.004a10f0
mov ecx, esi
call fcn.0049c5f0
push ebx
mov ecx, esi
call fcn.0049c450
test al, al
je 0x4a1b7a
mov ecx, dword [edi + 0xc]
push ebx
mov byte [edi + 0x27], bl
call fcn.0049fc30
push 2
mov ecx, edi
call fcn.004a10f0
mov eax, dword [edi + 0x20]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x20]
mov edx, dword [eax + 4]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], edx
call fcn.0049ef50
test al, al
je 0x4a17d0
lea ecx, [esp + 0x18]
call fcn.0049f610
mov eax, dword [eax]
push ebx
mov ecx, eax
call fcn.0049fc30
lea ecx, [esp + 0x18]
call fcn.0049f640
jmp 0x4a1792
cmp byte [edi + 0x28], bl
je 0x4a1b71
mov ecx, dword [edi + 0x2c]
cmp ecx, ebx
je 0x4a1b71
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.0049eb50
mov eax, dword [edi + 0xc]
add eax, 0x14
push eax
lea ecx, [esp + 0x24]
call fcn.0049c240
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.0049d910
mov edi, dword [edi + 0xc]
add edi, 0x14
push edi
mov ecx, esi
call fcn.0049c630
sub esp, 8
mov eax, esp
mov dword [eax], ebx
mov dword [esp + 0x20], esp
mov dword [eax + 4], ebx
fld1
mov eax, dword [esp + 0x3c]
fst dword [esp + 0x28]
lea ecx, [esp + 0x28]
fst dword [esp + 0x2c]
fldz
push ecx
mov ecx, dword [esp + 0x44]
fstp dword [esp + 0x34]
lea edx, [eax + 2]
push edx
mov edx, dword [esp + 0x40]
push ecx
fstp dword [esp + 0x40]
push eax
push edx
lea ecx, [esp + 0x68]
mov byte [esp + 0x84], 1
call fcn.0047c0a0
push eax
mov ecx, esi
mov byte [esp + 0x78], bl
call fcn.0049cd10
sub esp, 8
mov eax, esp
mov dword [eax], ebx
mov dword [esp + 0x20], esp
mov dword [eax + 4], ebx
fld1
mov ecx, dword [esp + 0x44]
fst dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
fst dword [esp + 0x2c]
fldz
lea eax, [esp + 0x28]
push eax
fstp dword [esp + 0x34]
mov eax, dword [esp + 0x44]
push ecx
push eax
push edx
fstp dword [esp + 0x44]
add eax, 0xfffffffe
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x84], 2
call fcn.0047c0a0
push eax
mov ecx, esi
mov byte [esp + 0x78], bl
call fcn.0049cd10
sub esp, 8
mov dword [esp + 0x20], esp
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
fld1
mov ecx, dword [esp + 0x40]
fst dword [esp + 0x28]
mov edx, dword [esp + 0x38]
fst dword [esp + 0x2c]
fldz
lea eax, [esp + 0x28]
push eax
fstp dword [esp + 0x34]
mov eax, dword [esp + 0x48]
push eax
push ecx
add eax, 0xfffffffe
fstp dword [esp + 0x40]
push eax
push edx
lea ecx, [esp + 0x68]
mov byte [esp + 0x84], 3
call fcn.0047c0a0
push eax
mov ecx, esi
mov byte [esp + 0x78], bl
call fcn.0049cd10
sub esp, 8
mov eax, esp
mov dword [eax], ebx
mov dword [esp + 0x20], esp
mov dword [eax + 4], ebx
mov byte [esp + 0x70], 4
jmp 0x4a1b22
mov ecx, esi
call fcn.0049c450
test al, al
je 0x4a1b7a
push ebx
mov ecx, edi
mov byte [edi + 0x27], bl
call fcn.004a10f0
mov eax, dword [edi + 0x20]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
nop
mov eax, dword [edi + 0x20]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x20]
mov dword [esp + 0x24], ecx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], eax
call fcn.0049ef50
test al, al
je 0x4a19b2
push ebx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x20]
call fcn.0049f670
mov ecx, eax
call fcn.0049f610
mov eax, dword [eax]
push ebx
mov ecx, eax
call fcn.0049fc30
jmp 0x4a1970
cmp byte [edi + 0x28], bl
je 0x4a1b71
mov ecx, dword [edi + 0x2c]
cmp ecx, ebx
je 0x4a1b71
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.0049eb50
mov eax, dword [edi + 0xc]
add eax, 0x14
push eax
lea ecx, [esp + 0x24]
call fcn.0049c240
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.0049d910
mov edi, dword [edi + 0xc]
add edi, 0x14
push edi
mov ecx, esi
call fcn.0049c630
sub esp, 8
mov eax, esp
mov dword [eax], ebx
mov dword [esp + 0x20], esp
mov dword [eax + 4], ebx
fld1
mov eax, dword [esp + 0x3c]
fst dword [esp + 0x28]
lea ecx, [esp + 0x28]
fst dword [esp + 0x2c]
fldz
push ecx
mov ecx, dword [esp + 0x44]
fstp dword [esp + 0x34]
lea edx, [eax + 2]
push edx
mov edx, dword [esp + 0x40]
push ecx
fstp dword [esp + 0x40]
push eax
push edx
lea ecx, [esp + 0x68]
mov byte [esp + 0x84], 5
call fcn.0047c0a0
push eax
mov ecx, esi
mov byte [esp + 0x78], bl
call fcn.0049cd10
sub esp, 8
mov eax, esp
mov dword [eax], ebx
mov dword [esp + 0x20], esp
mov dword [eax + 4], ebx
fld1
mov ecx, dword [esp + 0x44]
fst dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
fst dword [esp + 0x2c]
fldz
lea eax, [esp + 0x28]
push eax
fstp dword [esp + 0x34]
mov eax, dword [esp + 0x44]
push ecx
push eax
push edx
fstp dword [esp + 0x44]
add eax, 0xfffffffe
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x84], 6
call fcn.0047c0a0
push eax
mov ecx, esi
mov byte [esp + 0x78], bl
call fcn.0049cd10
sub esp, 8
mov dword [esp + 0x20], esp
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
fld1
mov ecx, dword [esp + 0x40]
fst dword [esp + 0x28]
mov edx, dword [esp + 0x38]
fst dword [esp + 0x2c]
fldz
lea eax, [esp + 0x28]
push eax
fstp dword [esp + 0x34]
mov eax, dword [esp + 0x48]
push eax
push ecx
add eax, 0xfffffffe
fstp dword [esp + 0x40]
push eax
push edx
lea ecx, [esp + 0x68]
mov byte [esp + 0x84], 7
call fcn.0047c0a0
push eax
mov ecx, esi
mov byte [esp + 0x78], bl
call fcn.0049cd10
sub esp, 8
mov eax, esp
mov dword [eax], ebx
mov dword [esp + 0x20], esp
mov dword [eax + 4], ebx
mov byte [esp + 0x70], 8
fld1
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x28]
fst dword [esp + 0x28]
push eax
fst dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
fldz
push ecx
fstp dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
lea edx, [eax + 2]
push edx
push ecx
fstp dword [esp + 0x44]
push eax
lea ecx, [esp + 0x68]
call fcn.0047c0a0
push eax
mov ecx, esi
mov byte [esp + 0x78], bl
call fcn.0049cd10
mov ecx, esi
call fcn.0049c650
mov ecx, esi
call fcn.0049d220
push 1
mov ecx, esi
call fcn.0049d960
lea ecx, [esp + 0x40]
mov dword [esp + 0x68], 0xffffffff
call fcn.0049eaf0
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret