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

Disassembly:
push 0xffffffffffffffff
push 0x5ee1f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe4
mov eax, dword [esp + 0xf4]
push ebx
push ebp
push esi
mov esi, dword [eax + 0x10]
xor ebx, ebx
shr esi, 2
cmp esi, ebx
push edi
mov ebp, ecx
mov dword [esp + 0x94], esi
jle 0x4af533
mov eax, dword [eax + 0x24]
shr eax, 2
cmp esi, eax
jne 0x4af533
mov eax, dword [ebp + 0x4c]
cmp dword [eax + 0x18], ebx
jle 0x4af533
xor ecx, ecx
push eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 0x5c]
add ecx, 0x2b8
call fcn.004f4880
cmp eax, ebx
mov dword [esp + 0x20], eax
je 0x4af533
lea ecx, [esp + 0x50]
call fcn.004918b0
lea ecx, [esp + 0x3c]
mov dword [esp + 0xfc], ebx
call fcn.004918b0
lea ecx, [esp + 0x68]
mov byte [esp + 0xfc], 1
call fcn.004918b0
cmp esi, ebx
mov byte [esp + 0xfc], 2
mov dword [esp + 0x80], ebx
mov edi, 0x5f7940
jle 0x4af4f1
mov ecx, dword [esp + 0x104]
mov eax, dword [esp + 0x80]
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0x1c]
mov esi, dword [edx + eax*4]
mov ebx, dword [ecx + eax*4]
push esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x34], ebx
call fcn.004f4060
add esp, 4
xor edx, edx
cmp eax, 0x2000000
sete dl
mov eax, edx
cmp eax, 1
mov dword [esp + 0x34], eax
jne 0x4ae8ad
cmp dword [esp + 0x20], esi
jne 0x4af571
cmp dword [esp + 0x94], edx
jne 0x4af571
mov ecx, dword [ebp + 0x4c]
push 0
add ecx, 0x14
call fcn.004f4160
mov ecx, dword [ebp + 0x4c]
push 0
push 0
add ecx, 0x14
mov dword [esp + 0x18], eax
call fcn.004f4110
mov esi, dword [ebp + 0x74]
mov edi, eax
mov dword [esp + 0x8c], 0
jmp 0x4ae8d4
mov ecx, dword [ebp + 0x4c]
lea eax, [esp + 0x8c]
push eax
push 0
push esi
add ecx, 0x14
call fcn.004f4200
mov edi, eax
push 0
mov ecx, dword [edi]
push ecx
mov ecx, dword [ebp + 0x5c]
call fcn.00462300
mov esi, eax
test edi, edi
je 0x4af571
test esi, esi
je 0x4af571
add edi, 0x18
push edi
call fcn.00492830
add edi, eax
push edi
call fcn.00492830
add edi, eax
add esp, 8
mov edi, dword [edi]
test edi, edi
mov dword [esp + 0x64], edi
je 0x4af571
test ebx, ebx
jge 0x4aecd9
lea eax, [ebx + 0xc]
cmp eax, 0xb
ja case.default.0x4ae91c
jmp dword [eax*4 + 0x4af5b4]
mov esi, dword [esp + 0x108]
mov edx, dword [esi]
push edx
call fcn.00492700
add esp, 4
cmp eax, 1
je 0x4af54e
mov eax, dword [esi]
push 0
push 0
push 0
push 0
push 0
push eax
call fcn.00503860
add esp, 0x18
test eax, eax
je 0x4af55f
mov ecx, dword [esi]
push ecx
lea ecx, [esp + 0xb8]
call fcn.005bc48f
mov esi, dword [esp + 0x34]
mov ecx, dword [ebp + 0x4c]
mov edx, esi
push 0
dec edx
push eax
mov eax, dword [esp + 0x18]
mov byte [esp + 0x104], 3
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esp + 0x28]
push edx
push eax
push ecx
mov ecx, ebp
call fcn.00510e10
lea ecx, [esp + 0xb4]
mov byte [esp + 0xfc], 2
call fcn.005bc421
cmp esi, 1
jne 0x4ae9ba
mov ecx, 0x6756e0
call fcn.0046da10
mov edx, dword [0x67602c]
push 0
push ebp
lea ecx, [edx + 0x594]
call fcn.00523c70
mov ecx, 0x6756e0
call fcn.00469ad0
push 0
push 0
push 0
push 0
mov ecx, 0x6756e0
call fcn.004097e0
jmp case.default.0x4ae91c
mov eax, dword [esp + 0x108]
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0xc0]
call fcn.005bc48f
push 1
mov ebx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x3c]
dec eax
mov edx, dword [esp + 0x28]
neg eax
sbb eax, eax
mov ecx, ebp
and eax, ebx
mov byte [esp + 0x104], 4
push eax
mov eax, dword [ebp + 0x4c]
push edx
push eax
call fcn.00510e10
lea ecx, [esp + 0xbc]
mov byte [esp + 0xfc], 2
call fcn.005bc421
jmp case.default.0x4ae91c
mov ecx, dword [esp + 0x108]
mov edx, dword [ecx]
lea ecx, [esp + 0xb0]
push edx
call fcn.005bc48f
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0x4c]
push 2
push eax
mov eax, dword [esp + 0x18]
mov byte [esp + 0x104], 5
push eax
push ecx
push edx
mov ecx, ebp
call fcn.00510e10
lea ecx, [esp + 0xb0]
mov byte [esp + 0xfc], 2
call fcn.005bc421
jmp case.default.0x4ae91c
mov eax, dword [esp + 0x108]
mov edx, dword [esp + 0x30]
mov ecx, dword [eax]
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [ebp + 0x4c]
push eax
push ecx
push edx
mov ecx, ebp
call fcn.00511280
jmp case.default.0x4ae91c
mov eax, dword [esp + 0x108]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [ebp + 0x4c]
push eax
push ecx
push edx
mov ecx, ebp
call fcn.005110f0
jmp case.default.0x4ae91c
mov eax, dword [esp + 0x108]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [ebp + 0x4c]
push edx
push eax
push ecx
mov ecx, ebp
call fcn.00511410
jmp case.default.0x4ae91c
mov ecx, dword [esp + 0x108]
mov eax, dword [ecx]
cmp eax, 0xffff8001
jl 0x4aeb2b
cmp eax, 0x7fff
jge 0x4aeb32
cmp eax, 0xffff8001
jge 0x4aeb37
mov eax, 0xffff8001
jmp 0x4aeb37
mov eax, 0x7fff
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
push edi
mov dword [ecx], eax
mov ecx, dword [ebp + 0x4c]
push eax
mov eax, dword [esp + 0x28]
push edx
push eax
push ecx
mov ecx, ebp
call fcn.00511520
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4aebd2
mov ebx, dword [esp + 0x64]
lea edx, [esp + 0xa0]
push edx
mov eax, dword [ebx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebx + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.005bde79
mov esi, eax
lea edx, [esp + 0xa0]
push edx
mov ecx, esi
call fcn.005c50bd
cmp edi, 0xfffffffc
jne 0x4aebe9
mov eax, dword [ebp + 0x90]
mov ecx, dword [esi + 0x1c]
cmp ecx, dword [eax + 0x1c]
jne 0x4aebaf
mov ecx, ebp
call fcn.0051d630
jmp 0x4aebb1
xor eax, eax
mov edx, dword [esp + 0x108]
add eax, dword [edx]
mov ecx, dword [esp + 0xa0]
push 0x15
push 0
push 0
push eax
push ecx
push 0
mov ecx, ebx
call fcn.005bd79e
push 0
push 0
mov ecx, ebp
call fcn.0051a2a0
mov ecx, ebp
call fcn.00519ef0
jmp case.default.0x4ae91c
mov eax, dword [esp + 0xa4]
cmp edi, 0xfffffffd
jne 0x4aebba
mov ecx, dword [esp + 0x108]
mov ecx, dword [ecx]
jmp 0x4aebc1
mov edi, dword [esp + 0x108]
mov eax, dword [edi]
test eax, eax
jl 0x4aec14
cmp eax, 0x7fff
jge 0x4aec20
xor edx, edx
test eax, eax
setl dl
dec edx
and eax, edx
jmp 0x4aec25
mov eax, 0x7fff
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
push esi
mov dword [edi], eax
mov edx, dword [ebp + 0x4c]
push eax
mov eax, dword [esp + 0x18]
push eax
push ecx
push edx
mov ecx, ebp
call fcn.00511520
mov ebx, dword [esp + 0x64]
lea eax, [esp + 0xa0]
push eax
mov ecx, dword [ebx + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp esi, 0xfffffffa
jne 0x4aecc0
mov eax, dword [edi]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xa0]
sub ecx, edx
push 0x16
push eax
push ecx
push 0
push 0
push 0
mov ecx, ebx
call fcn.005bd79e
cmp dword [esp + 0x34], 1
jne 0x4aebd2
cmp esi, 0xfffffffb
jne 0x4aeca2
mov ecx, ebp
call fcn.0051d630
test eax, eax
je 0x4aeca2
mov ecx, ebp
call fcn.005193e0
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0xdc]
mov eax, dword [ebp + 0x1c]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4aebd2
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0xa4]
sub eax, edx
cmp esi, 0xfffffffb
jne 0x4aec5f
mov ecx, dword [edi]
jmp 0x4aec6f
mov ecx, dword [esi + 0x24]
lea eax, [ebx + 8]
cmp eax, ecx
jge 0x4af571
mov edx, dword [esi + 0x28]
lea ecx, [eax + eax*4]
push 1
movsx eax, word [edx + ecx*4 + 0xc]
lea edi, [edx + ecx*4]
mov dword [esp + 0x88], eax
call dword [esi + 0x2c]
push 6
mov ebx, eax
call dword [esi + 0x2c]
push 4
mov dword [esp + 0x8c], eax
call dword [esi + 0x2c]
push 5
mov dword [esp + 0x28], eax
call dword [esi + 0x2c]
test ebx, ebx
mov dword [esp + 0x98], eax
je 0x4af571
mov eax, dword [esp + 0x88]
test eax, eax
je 0x4af571
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4af571
mov eax, dword [esp + 0x98]
test eax, eax
je 0x4af571
lea ecx, [esp + 0x28]
push 8
push ecx
call fcn.004927e0
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x6c]
add esp, 8
lea edx, [esp + 0x28]
push edx
push eax
push ebx
call dword [esp + 0x94]
mov edx, dword [esp + 0x84]
lea ecx, [esp + 0x28]
push ecx
lea eax, [esp + 0x54]
push edx
push eax
mov ecx, ebp
mov dword [esp + 0x6c], 0
call fcn.00519dd0
mov edx, dword [ebx + 0x1c]
lea ecx, [esp + 0xe4]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x108]
mov dword [esp + 0x38], 0
cmp word [edi + 0xc], 0x400
jne 0x4af15c
test edx, edx
jne 0x4af164
push 3
call dword [esi + 0x2c]
test eax, eax
je 0x4af571
lea ecx, [esp + 0x68]
lea edx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push ecx
push ebx
mov dword [esp + 0x88], 0
call eax
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x38]
cmp eax, 1
jne 0x4af434
mov ecx, dword [esp + 0x78]
test ecx, ecx
jle 0x4af0f8
mov eax, dword [esp + 0x70]
add ecx, eax
mov dword [esp + 0x7c], eax
cmp eax, ecx
mov dword [esp + 0x14], ecx
jae 0x4af0f8
mov eax, dword [esp + 0x7c]
push 0
mov dx, word [eax]
mov ecx, dword [eax + 2]
add eax, 2
mov word [esp + 0x1c], dx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0x4c]
add eax, 4
push edx
add ecx, 0x14
mov dword [esp + 0x84], eax
call fcn.004f4110
lea esi, [eax + 0x18]
mov dword [esp + 0x24], eax
push esi
call fcn.00492830
add esi, eax
push esi
call fcn.00492830
mov ecx, dword [esp + 0x24]
add esi, eax
add esp, 8
mov eax, dword [esi + 0x1c]
lea edi, [esi + 0x20]
test ecx, ecx
mov ebx, eax
jle 0x4aeea2
test ebx, ebx
jle 0x4aeea2
cmp dword [edi], 0
jne 0x4aee9a
dec ecx
dec ebx
add edi, 4
test ecx, ecx
jg 0x4aee90
mov edx, dword [esp + 0x24]
mov ecx, edi
sub ecx, edx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x18]
cmp cx, 1
jne 0x4aef69
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
inc eax
push 4
mov dword [esi + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
push ecx
mov ecx, dword [ebp + 0x4c]
push edx
add ecx, 0x14
mov dword [esp + 0x28], 0
call fcn.004e6f30
cmp dword [0x67625c], 0xffffffff
je 0x4af0d9
lea eax, [esp + 0x1c]
push 2
push eax
mov ecx, 0x676278
mov dword [esp + 0x24], 0x197
call fcn.00492170
lea ecx, [esp + 0x1c]
push 4
push ecx
mov ecx, 0x676278
mov dword [esp + 0x24], 0xc
call fcn.00492170
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x1c]
push 4
push eax
mov ecx, 0x676278
mov dword [esp + 0x24], edx
call fcn.00492170
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
push 4
push edx
mov ecx, 0x676278
call fcn.00492170
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x24]
push 4
mov dword [esp + 0x28], eax
push ecx
jmp 0x4af0cf
cmp cx, 2
jne 0x4af0d9
test ebx, ebx
jle 0x4aefdf
lea ecx, [esp + 0xd0]
call fcn.004918b0
mov dword [esp + 0xd0], 0x5f7a80
mov byte [esp + 0xfc], 6
mov eax, dword [edi]
test eax, eax
je 0x4aefb1
push eax
lea ecx, [esp + 0xd4]
call fcn.00491be0
add edi, 4
dec ebx
test ebx, ebx
jg 0x4aef96
lea edx, [esp + 0xd0]
mov ecx, ebp
push edx
call fcn.0050fe20
lea ecx, [esp + 0xd0]
mov byte [esp + 0xfc], 2
mov dword [esp + 0xd0], 0x5f7940
call fcn.00491ab0
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebp + 0x4c]
lea eax, [esp + 0x8c]
add ecx, 0x14
push eax
push 0
push ebx
call fcn.004f4200
lea esi, [eax + 0x18]
mov dword [esp + 0x24], eax
push esi
call fcn.00492830
add esi, eax
push esi
call fcn.00492830
mov edi, dword [esp + 0x24]
mov edx, dword [esi + eax + 0x1c]
add esi, eax
add esp, 8
test edi, edi
mov ecx, edx
lea eax, [esi + 0x20]
jle 0x4af03a
test ecx, ecx
jle 0x4af036
cmp dword [eax], 0
jne 0x4af02e
dec edi
dec ecx
add eax, 4
test edi, edi
jg 0x4af024
mov dword [esp + 0x1c], edi
mov edi, eax
sub edi, dword [esp + 0x24]
test ecx, ecx
jle 0x4af0d9
cmp dword [eax], 0
jne 0x4af0d9
dec edx
push 4
mov dword [esi + 0x1c], edx
mov ecx, dword [ebp + 0x4c]
push edi
push ebx
add ecx, 0x14
call fcn.004e6ee0
lea ecx, [esp + 0x18]
push 2
push ecx
mov ecx, 0x676278
mov dword [esp + 0x20], 0x198
call fcn.00492170
lea edx, [esp + 0x18]
push 4
push edx
mov ecx, 0x676278
mov dword [esp + 0x20], 0xc
call fcn.00492170
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push 4
push ecx
mov ecx, 0x676278
mov dword [esp + 0x20], eax
call fcn.00492170
lea edx, [esp + 0x18]
push 4
push edx
mov ecx, 0x676278
mov dword [esp + 0x20], ebx
call fcn.00492170
lea eax, [esp + 0x18]
push 4
mov dword [esp + 0x1c], edi
push eax
mov ecx, 0x676278
call fcn.00492170
mov esi, dword [esp + 0x7c]
push esi
call fcn.00492830
add esi, eax
mov eax, dword [esp + 0x18]
add esp, 4
cmp esi, eax
mov dword [esp + 0x7c], esi
jb 0x4aee31
mov ecx, dword [ebp + 0x8c]
and ecx, 0xfffffffc
cmp ecx, 4
jne 0x4af116
mov edx, dword [ebp + 0x84]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx]
cmp eax, ecx
je 0x4af12e
push 1
push 0
mov ecx, ebp
call fcn.0051a550
mov edx, dword [esp + 0x10]
lea ecx, [ebp + 0x7c]
push edx
call fcn.00491be0
mov eax, dword [0x67602c]
push 0
push ebp
lea ecx, [eax + 0x594]
call fcn.00523c70
push 0
push 0
push 0
push 0
mov ecx, 0x6756e0
call fcn.004097e0
mov ebx, dword [esp + 0x64]
jmp 0x4af2af
test edx, edx
je 0x4af571
mov ecx, dword [esp + 0x84]
lea eax, [ecx - 0x3e8]
cmp eax, 0x18
ja case.default.0x4af182
xor ecx, ecx
mov cl, byte [eax + 0x4af5f8]
jmp dword [ecx*4 + 0x4af5e4]
mov ecx, dword [esp + 0x28]
mov esi, dword [edx]
xor eax, eax
cmp ecx, esi
jmp 0x4af25a
fld qword [esp + 0x28]
fcomp qword [edx]
fnstsw ax
test ah, 0x40
jne case.default.0x4ae91c
jmp case.default.0x4af182
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4af1c4
cmp dword [edx], 0
je case.default.0x4ae91c
jmp case.default.0x4af182
mov esi, dword [edx]
test esi, esi
je case.default.0x4af182
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4af22f
test cl, cl
je 0x4af1ee
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4af22f
add eax, 2
add esi, 2
test cl, cl
jne 0x4af1ce
xor eax, eax
jmp 0x4af234
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4af205
cmp dword [edx], 0
je case.default.0x4ae91c
jmp case.default.0x4af182
mov esi, dword [edx]
test esi, esi
je case.default.0x4af182
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4af22f
test cl, cl
je 0x4af22b
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4af22f
add eax, 2
add esi, 2
test cl, cl
jne 0x4af20b
xor eax, eax
jmp 0x4af234
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4af267
jmp case.default.0x4ae91c
mov ecx, dword [esp + 0x2c]
mov eax, dword [edx + 4]
cmp ecx, eax
jne case.default.0x4af182
test ecx, ecx
je case.default.0x4ae91c
mov edi, dword [edx]
mov esi, dword [esp + 0x28]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
sete al
test eax, eax
jne case.default.0x4ae91c
jmp case.default.0x4af182
mov edx, dword [esp + 0x108]
lea ecx, [esp + 0x9c]
mov dword [esp + 0x38], 1
push ecx
push edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0xa4], 0
push edx
push ebx
call dword [esp + 0x34]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x4af2af
push eax
lea ecx, [ebp + 0x60]
call fcn.005bc5aa
cmp dword [esp + 0x38], 1
jne 0x4af434
cmp dword [0x67625c], 0xffffffff
je 0x4af434
lea eax, [esp + 0x28]
push 8
push eax
call fcn.004927e0
mov esi, dword [esp + 0x38]
add esp, 8
lea ecx, [esp + 0x28]
push ecx
push esi
push ebx
call dword [esp + 0x94]
mov eax, dword [esp + 0x84]
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x40]
push eax
push ecx
mov ecx, ebp
mov dword [esp + 0x58], 0
call fcn.00519dd0
lea edx, [esp + 0x14]
push 2
push edx
mov ecx, 0x676278
mov dword [esp + 0x1c], 0x192
call fcn.00492170
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x4c]
push 4
lea edx, [ecx + eax + 0x14]
lea eax, [esp + 0x18]
push eax
mov ecx, 0x676278
mov dword [esp + 0x1c], edx
call fcn.00492170
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], ecx
push 4
push edx
mov ecx, 0x676278
call fcn.00492170
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x14]
push 4
push eax
mov ecx, 0x676278
mov dword [esp + 0x1c], edi
call fcn.00492170
lea ecx, [esp + 0x14]
push 4
push ecx
mov ecx, 0x676278
mov dword [esp + 0x1c], esi
call fcn.00492170
mov edx, dword [esp + 0x60]
lea eax, [esp + 0x14]
push 4
push eax
mov ecx, 0x676278
mov dword [esp + 0x1c], edx
call fcn.00492170
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x58]
mov eax, ecx
push ecx
neg eax
sbb eax, eax
mov ecx, 0x676278
and eax, edx
push eax
call fcn.00492170
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0xb8]
mov dword [esp + 0xb8], ecx
push 4
push edx
mov ecx, 0x676278
call fcn.00492170
mov ecx, dword [esp + 0x4c]
mov eax, ecx
mov edx, dword [esp + 0x44]
push ecx
neg eax
sbb eax, eax
mov ecx, 0x676278
and eax, edx
push eax
call fcn.00492170
push ebx
call dword [esp + 0x9c]
mov esi, eax
test esi, esi
je 0x4af438
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp + 0x4c]
push eax
push edi
add ecx, 0x14
call fcn.004f4c30
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4af438
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x90]
mov esi, 1
cmp eax, esi
jne 0x4af45b
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4af45b
push esi
push edi
mov ecx, ebp
call fcn.004af620
jmp case.default.0x4ae91c
cmp dword [esp + 0x38], esi
jne case.default.0x4ae91c
mov ecx, dword [ebx + 0x1c]
lea eax, [esp + 0xc0]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0xe4]
lea eax, [esp + 0xc0]
push edx
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne case.default.0x4ae91c
lea ecx, [esp + 0xe4]
lea edx, [esp + 0xc0]
push ecx
lea eax, [esp + 0xc4]
push edx
push eax
call dword [sym.imp.USER32.dll_UnionRect]
lea ecx, [esp + 0xc0]
push ecx
mov ecx, dword [ebp + 0x90]
call fcn.005c50bd
lea edx, [esp + 0xc0]
push esi
push edx
mov ecx, ebp
call fcn.0051a2a0
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x94]
inc eax
cmp eax, ecx
mov dword [esp + 0x80], eax
jl 0x4ae824
mov edi, 0x5f7940
lea ecx, [esp + 0x68]
mov byte [esp + 0xfc], 1
mov dword [esp + 0x68], edi
call fcn.00491ab0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xfc], 0
mov dword [esp + 0x3c], edi
call fcn.00491ab0
mov dword [esp + 0xfc], 0xffffffff
mov dword [esp + 0x50], edi
lea ecx, [esp + 0x50]
call fcn.00491ab0
mov ecx, dword [esp + 0xf4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xf0
ret 8
push 0x2d
push 0x6761a0
call fcn.00486c20
add esp, 8
jmp 0x4af571
mov eax, dword [esi]
push eax
push 1
push 0x6761a0
call fcn.00486c20
add esp, 0xc
mov esi, 0x5f7940
lea ecx, [esp + 0x68]
mov byte [esp + 0xfc], 1
mov dword [esp + 0x68], esi
call fcn.00491ab0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xfc], 0
mov dword [esp + 0x3c], esi
call fcn.00491ab0
mov dword [esp + 0xfc], 0xffffffff
mov dword [esp + 0x50], esi
jmp 0x4af52a
add byte [eax], al
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x4bf5fe
push 1
push 1
mov ecx, esi
call fcn.004c5120
lea ecx, [esp + 8]
mov byte [esp + 0x30], 0
call fcn.005bc421
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x14], 0x5f7940
call fcn.00491ab0
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc