Function at 0x494658
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x494661
xchg dword [ebp - 4], ecx
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00403fd8
xor eax, eax
push ebp
push 0x494cf6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x329], 0
mov byte [ebp - 0x19], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1404], bl
xor edx, edx
push ebp
push 0x494cc4
push dword fs:[edx]
mov dword fs:[edx], esp
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x489a20]
call fcn.00489dd8
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x308], esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x2c8]
mov eax, esi
call fcn.0048e39c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov dword [eax + 0xc8], edx
mov edx, dword [ebp - 4]
mov dword [eax + 0x30], edx
mov dword [eax + 0x2c], 0x497474
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x8c]
mov dword [eax + 0x8c], ecx
mov ecx, dword [edx + 0x90]
mov dword [eax + 0x90], ecx
mov edx, dword [ebp - 4]
mov dword [eax + 0x38], edx
mov dword [eax + 0x34], 0x497288
mov byte [eax + 0x301], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x1369], 1
mov eax, dword [ebp - 4]
call fcn.0048b820
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
jne 0x49475f
call fcn.004036bc
jmp 0x494cce
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00494228
mov eax, dword [ebp - 4]
cmp word [eax + 0x13ae], 0
je 0x494792
mov eax, dword [0x54d6c4]
mov eax, dword [eax]
push eax
mov esi, dword [ebp - 4]
mov cl, 0xb
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x13b0]
call dword [esi + 0x13ac]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x329], 0
jne 0x4947c2
mov eax, dword [ebp - 4]
cmp byte [eax + 0x32a], 0
jne 0x4947c2
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
je 0x4947c2
mov eax, dword [ebp - 4]
cmp dword [eax + 0x308], 0
jne 0x4947d0
mov byte [ebp - 0x19], 1
call fcn.004036bc
jmp 0x494cce
test bl, bl
jne 0x494808
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe0], 0xa
je 0x494808
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe0], 0x10
je 0x494808
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe0], 0xb
je 0x494808
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe0], 0xd
jne 0x494895
mov bl, 1
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004969ec
test al, al
je 0x49483a
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
je 0x49483a
mov eax, dword [ebp - 0x14]
mov edx, dword [0x54d6c4]
mov edx, dword [edx]
call fcn.00403f34
jne 0x49483c
xor ebx, ebx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x329], 0
jne 0x494895
mov eax, dword [ebp - 4]
cmp byte [eax + 0x32a], 0
jne 0x494895
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
je 0x494895
mov eax, dword [ebp - 4]
cmp dword [eax + 0x308], 0
je 0x494895
mov eax, dword [ebp - 4]
cmp word [eax + 0x13ae], 0
je 0x494895
mov eax, dword [0x54d6c4]
mov eax, dword [eax]
push eax
mov esi, dword [ebp - 4]
mov cl, 0xb
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x13b0]
call dword [esi + 0x13ac]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x329], 0
jne 0x4948c5
mov eax, dword [ebp - 4]
cmp byte [eax + 0x32a], 0
jne 0x4948c5
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
je 0x4948c5
mov eax, dword [ebp - 4]
cmp dword [eax + 0x308], 0
jne 0x4948d3
mov byte [ebp - 0x19], 1
call fcn.004036bc
jmp 0x494cce
test bl, bl
je 0x4948fb
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00494440
test al, al
jne 0x4949ec
call fcn.004036bc
jmp 0x494cce
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x140c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x1408]
mov eax, dword [ebp - 4]
call fcn.004991b0
mov edx, dword [ebp - 4]
mov esi, dword [edx + 0x308]
mov dword [esi + 0xf0], eax
mov eax, esi
mov dl, 1
call fcn.0048c8b8
mov eax, dword [ebp - 4]
cmp byte [eax + 0x329], 0
jne 0x494951
mov eax, dword [ebp - 4]
cmp byte [eax + 0x32a], 0
jne 0x494951
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
jne 0x49495f
mov byte [ebp - 0x19], 1
call fcn.004036bc
jmp 0x494cce
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0048f344
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call fcn.0048e4e0
mov edx, dword [ebp - 0x24]
pop eax
call fcn.00403e2c
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00496e50
mov eax, dword [ebp - 4]
cmp byte [eax + 0x329], 0
jne 0x4949ec
mov eax, dword [ebp - 4]
cmp byte [eax + 0x32a], 0
jne 0x4949ec
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
je 0x4949ec
mov eax, dword [ebp - 4]
cmp dword [eax + 0x308], 0
je 0x4949ec
mov eax, dword [ebp - 4]
cmp word [eax + 0x13ae], 0
je 0x4949ec
mov eax, dword [0x54d6c4]
mov eax, dword [eax]
push eax
mov esi, dword [ebp - 4]
mov cl, 0xb
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x13b0]
call dword [esi + 0x13ac]
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x2d8]
cmp ax, 0x12c
jle 0x494a3d
cmp ax, 0x258
jge 0x494a3d
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
jne 0x494a3d
mov eax, dword [ebp - 4]
cmp word [eax + 0x13be], 0
jne 0x494a2f
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x49161c]
call fcn.0040ba6c
call fcn.0040361c
mov byte [ebp - 0x19], 1
call fcn.004036bc
jmp 0x494cce
mov eax, dword [ebp - 4]
cmp dword [eax + 0x308], 0
jne 0x494a57
mov byte [ebp - 0x19], 1
call fcn.004036bc
jmp 0x494cce
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov dword [eax + 0x2e0], edx
mov dword [eax + 0x2dc], 0x4942a8
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 8]
mov edx, 0x494d0c
call fcn.00403e70
mov edx, dword [ebp - 0x20]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00493990
mov eax, dword [ebp - 4]
cmp byte [eax + 0x329], 0
jne 0x494ae3
mov eax, dword [ebp - 4]
cmp byte [eax + 0x32a], 0
jne 0x494ae3
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
je 0x494ae3
mov eax, dword [ebp - 4]
cmp dword [eax + 0x308], 0
je 0x494ae3
mov eax, dword [ebp - 4]
cmp word [eax + 0x13ae], 0
je 0x494ae3
mov eax, dword [0x54d6c4]
mov eax, dword [eax]
push eax
mov esi, dword [ebp - 4]
mov cl, 0xb
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x13b0]
call dword [esi + 0x13ac]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x308], 0
jne 0x494af9
call fcn.004036bc
jmp 0x494cce
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x2d8]
cmp ax, 0x12c
jle 0x494bd2
cmp ax, 0x258
jge 0x494bd2
cmp ax, 0x1a9
je 0x494bd2
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
je 0x494bd2
mov eax, dword [ebp - 8]
mov edx, dword [0x54d6c4]
mov edx, dword [edx]
call fcn.00403f34
je 0x494ba3
mov edx, 0x494d0c
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00493990
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x2d8]
cmp ax, 0x12c
jle 0x494b68
cmp ax, 0x258
jl 0x494b74
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
jne 0x494bd2
mov eax, dword [ebp - 4]
cmp word [eax + 0x13be], 0
jne 0x494b95
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x49161c]
call fcn.0040ba6c
call fcn.0040361c
mov byte [ebp - 0x19], 1
call fcn.004036bc
jmp 0x494cce
mov eax, dword [ebp - 4]
cmp word [eax + 0x13be], 0
jne 0x494bc4
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x49161c]
call fcn.0040ba6c
call fcn.0040361c
mov byte [ebp - 0x19], 1
call fcn.004036bc
jmp 0x494cce
mov eax, dword [ebp - 4]
cmp dword [eax + 0x308], 0
jne 0x494bec
mov byte [ebp - 0x19], 1
call fcn.004036bc
jmp 0x494cce
mov eax, dword [ebp - 4]
test byte [eax + 0x2e9], 1
jne 0x494c22
mov eax, dword [ebp - 4]
cmp word [eax + 0x2d8], 0x12c
jge 0x494c22
mov eax, dword [ebp - 4]
cmp word [eax + 0x2d8], 0x258
jge 0x494c22
test bl, bl
jne 0x494c22
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00497b70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494cce
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
test eax, eax
je 0x494caa
call fcn.0048cc14
cmp byte [ebp - 0x19], 0
jne 0x494c71
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
cmp byte [eax + 0x1360], 0
je 0x494c71
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov edx, dword [ebp - 4]
mov dword [eax + 0x58], edx
mov dword [eax + 0x54], 0x49743c
jmp 0x494caa
mov eax, dword [ebp - 4]
cmp word [eax + 0x13b6], 0
je 0x494c92
mov ebx, dword [ebp - 4]
mov cl, 0xb
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x13b8]
call dword [ebx + 0x13b4]
push 0
push 0
push 0x46a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
push eax
call sub.user32.dll_PostMessageA
cmp byte [ebp - 0x19], 0
je 0x494cc3
xor ecx, ecx
mov dl, 1
mov eax, dword [0x49161c]
call fcn.0040ba6c
call fcn.0040361c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494cfd
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00403bcc
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00403bcc
ret