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

Disassembly:
push 0xffffffffffffffff
push 0x555e31
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 0x493fd4
mov eax, dword [eax + 0x24]
shr eax, 2
cmp esi, eax
jne 0x493fd4
mov eax, dword [ebp + 0x4c]
cmp dword [eax + 0x18], ebx
jle 0x493fd4
xor ecx, ecx
push eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x5c]
add ecx, 0x244
call fcn.004d7c50
cmp eax, ebx
mov dword [esp + 0x20], eax
je 0x493fd4
lea ecx, [esp + 0x3c]
call fcn.00477df0
lea ecx, [esp + 0x50]
mov dword [esp + 0xfc], ebx
call fcn.00477df0
lea ecx, [esp + 0x64]
mov byte [esp + 0xfc], 1
call fcn.00477df0
cmp esi, ebx
mov byte [esp + 0xfc], 2
mov dword [esp + 0x80], ebx
mov edi, 0x55f890
jle 0x493f92
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 edx, dword [ecx + eax*4]
push esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x2c], edx
call fcn.004d7430
add esp, 4
xor ebx, ebx
cmp eax, 0x2000000
sete bl
cmp ebx, 1
mov dword [esp + 0x34], ebx
jne 0x4932eb
cmp dword [esp + 0x20], esi
jne 0x494016
cmp dword [esp + 0x94], ebx
jne 0x494016
mov ecx, dword [ebp + 0x4c]
push 0
add ecx, 0x14
call fcn.004d7530
mov ecx, dword [ebp + 0x4c]
push 0
push 0
add ecx, 0x14
mov dword [esp + 0x18], eax
call fcn.004d74e0
mov esi, dword [ebp + 0x74]
mov edi, eax
mov dword [esp + 0x8c], 0
jmp 0x493312
mov ecx, dword [ebp + 0x4c]
lea eax, [esp + 0x8c]
push eax
push 0
push esi
add ecx, 0x14
call fcn.004d75d0
mov edi, eax
push 0
mov ecx, dword [edi]
push ecx
mov ecx, dword [ebp + 0x5c]
call fcn.004544c0
mov esi, eax
test edi, edi
je 0x494016
test esi, esi
je 0x494016
add edi, 0x18
cmp ebx, 1
jne 0x493332
mov edx, dword [ebp + 0x4c]
mov ebx, dword [edx + 0xc]
jmp 0x493334
mov ebx, edi
push edi
call fcn.00478d70
add edi, eax
push edi
call fcn.00478d70
add edi, eax
add esp, 8
mov edi, dword [edi]
test edi, edi
mov dword [esp + 0x78], edi
je 0x494016
mov eax, dword [esp + 0x28]
test eax, eax
jge 0x493777
add eax, 0xc
cmp eax, 0xb
ja case.default.0x49336d
jmp dword [eax*4 + 0x49405c]
mov esi, dword [esp + 0x108]
mov eax, dword [esi]
push eax
call fcn.00478c40
add esp, 4
cmp eax, 1
je 0x493fef
mov ecx, dword [esi]
push 0
push 0
push 0
push 0
push 0
push ecx
call fcn.004e69a0
add esp, 0x18
test eax, eax
mov eax, dword [esi]
push eax
je 0x494000
push ebx
call fcn.005100b9
mov edi, dword [esp + 0x3c]
add esp, 8
test eax, eax
je 0x4933fd
push 0
push 0
cmp edi, 1
push 0
push 0
jne 0x4933e3
mov edx, dword [ebp + 0x5c]
mov eax, dword [esi]
add edx, 0x244
mov ecx, ebp
push edx
push eax
call fcn.0049a870
jmp 0x4933f4
mov ecx, dword [ebp + 0x4c]
mov edx, dword [esi]
add ecx, 0x14
push ecx
push edx
mov ecx, ebp
call fcn.0049a820
cmp eax, 1
je 0x494004
mov eax, dword [esi]
lea ecx, [esp + 0xb4]
push eax
call fcn.0052808d
mov ecx, edi
mov edx, dword [esp + 0x20]
dec ecx
push 0
neg ecx
push eax
mov eax, dword [esp + 0x18]
sbb ecx, ecx
mov byte [esp + 0x104], 3
and ecx, eax
mov eax, dword [ebp + 0x4c]
push ecx
push edx
push eax
mov ecx, ebp
call fcn.004f3c10
lea ecx, [esp + 0xb4]
mov byte [esp + 0xfc], 2
call fcn.0052801f
cmp edi, 1
jne 0x493458
mov ecx, 0x5b1210
call fcn.0045d8a0
mov ecx, dword [0x5b1ac0]
push 0
push ebp
add ecx, 0x4f8
call fcn.00506770
mov ecx, 0x5b1210
call fcn.0045b8e0
push 0
push 0
push 0
push 0
mov ecx, 0x5b1210
call fcn.00408780
jmp case.default.0x49336d
mov edx, dword [esp + 0x108]
lea ecx, [esp + 0xbc]
mov eax, dword [edx]
push eax
call fcn.0052808d
push 1
mov edi, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
dec eax
mov edx, dword [ebp + 0x4c]
mov byte [esp + 0x104], 4
neg eax
sbb eax, eax
and eax, edi
push eax
push ecx
push edx
mov ecx, ebp
call fcn.004f3c10
lea ecx, [esp + 0xbc]
mov byte [esp + 0xfc], 2
call fcn.0052801f
jmp case.default.0x49336d
mov eax, dword [esp + 0x108]
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0xb4]
call fcn.0052808d
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 0x4c]
push 2
push eax
mov eax, dword [esp + 0x28]
push edx
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x110], 5
call fcn.004f3c10
lea ecx, [esp + 0xb0]
mov byte [esp + 0xfc], 2
call fcn.0052801f
jmp case.default.0x49336d
mov edx, dword [esp + 0x108]
mov ecx, dword [esp + 0x28]
mov eax, dword [edx]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [ebp + 0x4c]
push edx
push eax
push ecx
mov ecx, ebp
call fcn.004f4090
jmp case.default.0x49336d
mov eax, dword [esp + 0x108]
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [ebp + 0x4c]
push ecx
push edx
push eax
mov ecx, ebp
call fcn.004f3f00
jmp case.default.0x49336d
mov ecx, dword [esp + 0x108]
mov eax, dword [esp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [ebp + 0x4c]
push eax
push ecx
push edx
mov ecx, ebp
call fcn.004f4220
jmp case.default.0x49336d
mov ecx, dword [esp + 0x108]
mov eax, dword [ecx]
cmp eax, 0xffff8001
jl 0x4935c9
cmp eax, 0x7fff
jge 0x4935d0
cmp eax, 0xffff8001
jge 0x4935d5
mov eax, 0xffff8001
jmp 0x4935d5
mov eax, 0x7fff
mov edi, dword [esp + 0x28]
mov dword [ecx], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0x4c]
push edi
push eax
mov eax, dword [esp + 0x18]
push eax
push ecx
push edx
mov ecx, ebp
call fcn.004f4330
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x493670
mov ebx, dword [esp + 0x78]
lea eax, [esp + 0xa0]
push eax
mov ecx, dword [ebx + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00529a78
mov esi, eax
lea eax, [esp + 0xa0]
push eax
mov ecx, esi
call fcn.00530cbb
cmp edi, 0xfffffffc
jne 0x493687
mov ecx, dword [ebp + 0x90]
mov edx, dword [esi + 0x1c]
cmp edx, dword [ecx + 0x1c]
jne 0x49364d
mov ecx, ebp
call fcn.004fffe0
jmp 0x49364f
xor eax, eax
mov ecx, dword [esp + 0x108]
add eax, dword [ecx]
mov ecx, dword [esp + 0xa0]
push 0x15
push 0
push 0
push eax
push ecx
push 0
mov ecx, ebx
call fcn.0052939d
push 0
push 0
mov ecx, ebp
call fcn.004fce90
mov ecx, ebp
call fcn.004fcae0
jmp case.default.0x49336d
mov eax, dword [esp + 0xa4]
cmp edi, 0xfffffffd
jne 0x493658
mov edx, dword [esp + 0x108]
mov ecx, dword [edx]
jmp 0x49365f
mov edi, dword [esp + 0x108]
mov eax, dword [edi]
test eax, eax
jl 0x4936b2
cmp eax, 0x7fff
jge 0x4936be
xor ecx, ecx
test eax, eax
setl cl
dec ecx
and eax, ecx
jmp 0x4936c3
mov eax, 0x7fff
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
push esi
mov dword [edi], eax
mov ecx, dword [ebp + 0x4c]
push eax
mov eax, dword [esp + 0x28]
push edx
push eax
push ecx
mov ecx, ebp
call fcn.004f4330
mov ebx, dword [esp + 0x78]
lea edx, [esp + 0xa0]
push edx
mov eax, dword [ebx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp esi, 0xfffffffa
jne 0x49375e
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.0052939d
cmp dword [esp + 0x34], 1
jne 0x493670
cmp esi, 0xfffffffb
jne 0x493740
mov ecx, ebp
call fcn.004fffe0
test eax, eax
je 0x493740
mov ecx, ebp
call fcn.004fbfd0
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 0x493670
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0xa4]
sub eax, edx
cmp esi, 0xfffffffb
jne 0x4936fd
mov ecx, dword [edi]
jmp 0x49370d
mov ecx, dword [esi + 0x24]
add eax, 8
cmp eax, ecx
jge 0x494016
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 0x494016
mov eax, dword [esp + 0x88]
test eax, eax
je 0x494016
mov eax, dword [esp + 0x24]
test eax, eax
je 0x494016
mov eax, dword [esp + 0x98]
test eax, eax
je 0x494016
lea ecx, [esp + 0x2c]
push 8
push ecx
call fcn.00478d20
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x80]
add esp, 8
lea edx, [esp + 0x2c]
push edx
push eax
push ebx
call dword [esp + 0x94]
mov edx, dword [esp + 0x84]
lea ecx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x40]
push edx
push eax
mov ecx, ebp
mov dword [esp + 0x58], 0
call fcn.004fc9c0
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 0x493bfd
test edx, edx
jne 0x493c05
push 3
call dword [esi + 0x2c]
test eax, eax
je 0x494016
lea ecx, [esp + 0x64]
lea edx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push ecx
push ebx
mov dword [esp + 0x84], 0
call eax
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x38]
cmp eax, 1
jne 0x493ed5
mov ecx, dword [esp + 0x74]
test ecx, ecx
jle 0x493b99
mov eax, dword [esp + 0x6c]
add ecx, eax
mov dword [esp + 0x7c], eax
cmp eax, ecx
mov dword [esp + 0x14], ecx
jae 0x493b99
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.004d74e0
lea esi, [eax + 0x18]
mov dword [esp + 0x24], eax
push esi
call fcn.00478d70
add esi, eax
push esi
call fcn.00478d70
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 0x493943
test ebx, ebx
jle 0x493943
cmp dword [edi], 0
jne 0x49393b
dec ecx
dec ebx
add edi, 4
test ecx, ecx
jg 0x493931
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 0x493a0a
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.004ca940
cmp dword [0x5b1cbc], 0xffffffff
je 0x493b7a
lea eax, [esp + 0x1c]
push 2
push eax
mov ecx, 0x5b1cd8
mov dword [esp + 0x24], 0x197
call fcn.004786b0
lea ecx, [esp + 0x1c]
push 4
push ecx
mov ecx, 0x5b1cd8
mov dword [esp + 0x24], 0xc
call fcn.004786b0
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x1c]
push 4
push eax
mov ecx, 0x5b1cd8
mov dword [esp + 0x24], edx
call fcn.004786b0
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
push 4
push edx
mov ecx, 0x5b1cd8
call fcn.004786b0
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x24]
push 4
mov dword [esp + 0x28], eax
push ecx
jmp 0x493b70
cmp cx, 2
jne 0x493b7a
test ebx, ebx
jle 0x493a80
lea ecx, [esp + 0xd0]
call fcn.00477df0
mov dword [esp + 0xd0], 0x55f9d0
mov byte [esp + 0xfc], 6
mov eax, dword [edi]
test eax, eax
je 0x493a52
push eax
lea ecx, [esp + 0xd4]
call fcn.004780b0
add edi, 4
dec ebx
test ebx, ebx
jg 0x493a37
lea edx, [esp + 0xd0]
mov ecx, ebp
push edx
call fcn.004f2c30
lea ecx, [esp + 0xd0]
mov byte [esp + 0xfc], 2
mov dword [esp + 0xd0], 0x55f890
call fcn.00477ff0
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.004d75d0
lea esi, [eax + 0x18]
mov dword [esp + 0x24], eax
push esi
call fcn.00478d70
add esi, eax
push esi
call fcn.00478d70
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 0x493adb
test ecx, ecx
jle 0x493ad7
cmp dword [eax], 0
jne 0x493acf
dec edi
dec ecx
add eax, 4
test edi, edi
jg 0x493ac5
mov dword [esp + 0x1c], edi
mov edi, eax
sub edi, dword [esp + 0x24]
test ecx, ecx
jle 0x493b7a
cmp dword [eax], 0
jne 0x493b7a
dec edx
push 4
mov dword [esi + 0x1c], edx
mov ecx, dword [ebp + 0x4c]
push edi
push ebx
add ecx, 0x14
call fcn.004ca8f0
lea ecx, [esp + 0x18]
push 2
push ecx
mov ecx, 0x5b1cd8
mov dword [esp + 0x20], 0x198
call fcn.004786b0
lea edx, [esp + 0x18]
push 4
push edx
mov ecx, 0x5b1cd8
mov dword [esp + 0x20], 0xc
call fcn.004786b0
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push 4
push ecx
mov ecx, 0x5b1cd8
mov dword [esp + 0x20], eax
call fcn.004786b0
lea edx, [esp + 0x18]
push 4
push edx
mov ecx, 0x5b1cd8
mov dword [esp + 0x20], ebx
call fcn.004786b0
lea eax, [esp + 0x18]
push 4
mov dword [esp + 0x1c], edi
push eax
mov ecx, 0x5b1cd8
call fcn.004786b0
mov esi, dword [esp + 0x7c]
push esi
call fcn.00478d70
add esi, eax
mov eax, dword [esp + 0x18]
add esp, 4
cmp esi, eax
mov dword [esp + 0x7c], esi
jb 0x4938d2
mov ecx, dword [ebp + 0x8c]
and ecx, 0xfffffffc
cmp ecx, 4
jne 0x493bb7
mov edx, dword [ebp + 0x84]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx]
cmp eax, ecx
je 0x493bcf
push 1
push 0
mov ecx, ebp
call fcn.004fd140
mov edx, dword [esp + 0x10]
lea ecx, [ebp + 0x7c]
push edx
call fcn.004780b0
mov eax, dword [0x5b1ac0]
push 0
push ebp
lea ecx, [eax + 0x4f8]
call fcn.00506770
push 0
push 0
push 0
push 0
mov ecx, 0x5b1210
call fcn.00408780
mov ebx, dword [esp + 0x78]
jmp 0x493d50
test edx, edx
je 0x494016
mov ecx, dword [esp + 0x84]
lea eax, [ecx - 0x3e8]
cmp eax, 0x18
ja case.default.0x493c23
xor ecx, ecx
mov cl, byte [eax + 0x4940a0]
jmp dword [ecx*4 + 0x49408c]
mov ecx, dword [esp + 0x2c]
mov esi, dword [edx]
xor eax, eax
cmp ecx, esi
jmp 0x493cfb
fld qword [esp + 0x2c]
fcomp qword [edx]
fnstsw ax
test ah, 0x40
jne case.default.0x49336d
jmp case.default.0x493c23
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x493c65
cmp dword [edx], 0
je case.default.0x49336d
jmp case.default.0x493c23
mov esi, dword [edx]
test esi, esi
je case.default.0x493c23
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x493cd0
test cl, cl
je 0x493c8f
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x493cd0
add eax, 2
add esi, 2
test cl, cl
jne 0x493c6f
xor eax, eax
jmp 0x493cd5
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x493ca6
cmp dword [edx], 0
je case.default.0x49336d
jmp case.default.0x493c23
mov esi, dword [edx]
test esi, esi
je case.default.0x493c23
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x493cd0
test cl, cl
je 0x493ccc
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x493cd0
add eax, 2
add esi, 2
test cl, cl
jne 0x493cac
xor eax, eax
jmp 0x493cd5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x493d08
jmp case.default.0x49336d
mov ecx, dword [esp + 0x30]
mov eax, dword [edx + 4]
cmp ecx, eax
jne case.default.0x493c23
test ecx, ecx
je case.default.0x49336d
mov edi, dword [edx]
mov esi, dword [esp + 0x2c]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
sete al
test eax, eax
jne case.default.0x49336d
jmp case.default.0x493c23
mov edx, dword [esp + 0x108]
lea ecx, [esp + 0x9c]
mov dword [esp + 0x38], 1
push ecx
push edx
mov edx, dword [esp + 0x30]
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 0x493d50
push eax
lea ecx, [ebp + 0x60]
call fcn.005281a8
cmp dword [esp + 0x38], 1
jne 0x493ed5
cmp dword [0x5b1cbc], 0xffffffff
je 0x493ed5
lea eax, [esp + 0x2c]
push 8
push eax
call fcn.00478d20
mov esi, dword [esp + 0x30]
add esp, 8
lea ecx, [esp + 0x2c]
push ecx
push esi
push ebx
call dword [esp + 0x94]
mov eax, dword [esp + 0x84]
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x54]
push eax
push ecx
mov ecx, ebp
mov dword [esp + 0x6c], 0
call fcn.004fc9c0
lea edx, [esp + 0x14]
push 2
push edx
mov ecx, 0x5b1cd8
mov dword [esp + 0x1c], 0x192
call fcn.004786b0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x60]
push 4
lea edx, [ecx + eax + 0x14]
lea eax, [esp + 0x18]
push eax
mov ecx, 0x5b1cd8
mov dword [esp + 0x1c], edx
call fcn.004786b0
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], ecx
push 4
push edx
mov ecx, 0x5b1cd8
call fcn.004786b0
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x14]
push 4
push eax
mov ecx, 0x5b1cd8
mov dword [esp + 0x1c], edi
call fcn.004786b0
lea ecx, [esp + 0x14]
push 4
push ecx
mov ecx, 0x5b1cd8
mov dword [esp + 0x1c], esi
call fcn.004786b0
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x14]
push 4
push eax
mov ecx, 0x5b1cd8
mov dword [esp + 0x1c], edx
call fcn.004786b0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov eax, ecx
push ecx
neg eax
sbb eax, eax
mov ecx, 0x5b1cd8
and eax, edx
push eax
call fcn.004786b0
mov ecx, dword [esp + 0x60]
lea edx, [esp + 0xb8]
mov dword [esp + 0xb8], ecx
push 4
push edx
mov ecx, 0x5b1cd8
call fcn.004786b0
mov ecx, dword [esp + 0x60]
mov eax, ecx
mov edx, dword [esp + 0x58]
push ecx
neg eax
sbb eax, eax
mov ecx, 0x5b1cd8
and eax, edx
push eax
call fcn.004786b0
push ebx
call dword [esp + 0x9c]
mov esi, eax
test esi, esi
je 0x493ed9
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.004d8000
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x493ed9
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x90]
mov esi, 1
cmp eax, esi
jne 0x493efc
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x493efc
push esi
push edi
mov ecx, ebp
call fcn.004940c0
jmp case.default.0x49336d
cmp dword [esp + 0x38], esi
jne case.default.0x49336d
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.0x49336d
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.00530cbb
lea edx, [esp + 0xc0]
push esi
push edx
mov ecx, ebp
call fcn.004fce90
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x94]
inc eax
cmp eax, ecx
mov dword [esp + 0x80], eax
jl 0x493264
mov edi, 0x55f890
lea ecx, [esp + 0x64]
mov byte [esp + 0xfc], 1
mov dword [esp + 0x64], edi
call fcn.00477ff0
lea ecx, [esp + 0x50]
mov byte [esp + 0xfc], 0
mov dword [esp + 0x50], edi
call fcn.00477ff0
mov dword [esp + 0xfc], 0xffffffff
mov dword [esp + 0x3c], edi
lea ecx, [esp + 0x3c]
call fcn.00477ff0
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 0x5b1c10
call fcn.0046f9c0
add esp, 8
jmp 0x494016
push 1
jmp 0x494009
mov ecx, dword [esi]
push ecx
push 2
push 0x5b1c10
call fcn.0046f9c0
add esp, 0xc
mov esi, 0x55f890
lea ecx, [esp + 0x64]
mov byte [esp + 0xfc], 1
mov dword [esp + 0x64], esi
call fcn.00477ff0
lea ecx, [esp + 0x50]
mov byte [esp + 0xfc], 0
mov dword [esp + 0x50], esi
call fcn.00477ff0
mov dword [esp + 0xfc], 0xffffffff
mov dword [esp + 0x3c], esi
jmp 0x493fcb
inc dword [eax]
add eax, 0x8f840f
add byte [eax], al
test esi, esi
jne 0x4a4124
push edi
call fcn.004d7410
add esp, 4
test eax, eax
je 0x4a4105
cmp eax, 0x10000000
je 0x4a40d5
cmp eax, 0x20000000
jne 0x4a4124
mov ecx, dword [esp + 0x20]
push edi
add ecx, 0x38
call fcn.004d7590
test eax, eax
mov eax, 0x5a881c
jne 0x4a411a
mov eax, 0x5a8810
jmp 0x4a411a
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x4a40fe
push eax
call fcn.004d7410
add esp, 4
xor ecx, ecx
cmp eax, 0x40000000
sete cl
mov eax, ecx
test eax, eax
mov eax, 0x5a63c4
jne 0x4a411a
mov eax, 0x5a63b8
jmp 0x4a411a
push 0x59f8a4
jmp 0x4a411b
push eax
lea ecx, [esp + 0x1c]
call fcn.005281a8
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x5c]
push 0xffff
push 0
lea edx, [esp + 0x18]
push 0
push edx
push eax
call fcn.00454c30
test eax, eax
jne 0x4a415b
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [ebp + 0x5c]
push edx
add ecx, 0x280
call fcn.004d4b10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
push eax
push ecx
lea edx, [esp + 0x94]
push 0x5a87cc
push edx
call fcn.004e6da0
add esp, 0x10
push eax
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xa4]
mov bl, 0xf
push eax
push ecx
mov byte [esp + 0xe4], bl
call fcn.0052824e
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xdc], 0x10
call fcn.00528158
lea ecx, [esp + 0xa0]
mov byte [esp + 0xd8], bl
call fcn.0052801f
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd8], 0xe
call fcn.0052801f
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4a41e5
push 0x5a87c8
lea ecx, [esp + 0x14]
call fcn.005283fb
lea ecx, [esp + 0x14]
call fcn.005248a6
lea ecx, [esp + 0x14]
call fcn.0052485a
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
test eax, eax
je 0x4a423f
lea eax, [esp + 0x14]
lea ecx, [esp + 0x90]
push eax
push 0x5a8828
push ecx
call fcn.00528328
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xdc], 0x11
call fcn.00528437
lea ecx, [esp + 0x90]
mov byte [esp + 0xd8], 0xe
call fcn.0052801f
mov byte [esp + 0xd8], 0xa
lea ecx, [esp + 0x18]
jmp 0x4a4765
call fcn.0052801f
mov edi, 0x55f890
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
test eax, eax
je 0x4a478b
mov ecx, dword [esp + 0xe0]
lea eax, [esp + 0x10]
push eax
call fcn.00528158
lea ecx, [esp + 0x14]
mov byte [esp + 0xd8], 9
call fcn.0052801f
lea ecx, [esp + 0x10]
mov byte [esp + 0xd8], 8
call fcn.0052801f
lea ecx, [esp + 0x68]
mov byte [esp + 0xd8], 7
mov dword [esp + 0x68], edi
call fcn.00477ff0
mov byte [esp + 0xd8], 3
mov dword [esp + 0x54], edi
lea ecx, [esp + 0x54]
call fcn.00477ff0
lea ecx, [esp + 0x34]
mov byte [esp + 0xd8], 2
call fcn.0052801f
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd8], 1
call fcn.0052801f
lea ecx, [esp + 0x40]
mov byte [esp + 0xd8], 0
call fcn.0052801f
lea ecx, [esp + 0x24]
mov dword [esp + 0xd8], 0xffffffff
call fcn.0052801f
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0xcc
ret 8