Function at 0x494f78
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x494f81
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 0x495664
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x331], 0
mov byte [ebp - 0x19], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x418], bl
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov dword [eax + 0xa0], edx
mov dword [eax + 0x9c], 0x497a84
mov eax, dword [ebp - 4]
mov byte [eax + 0x41a], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x37a], 1
xor edx, edx
push ebp
push 0x495632
push dword fs:[edx]
mov dword fs:[edx], esp
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x48a09c]
call fcn.0048a478
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x310], 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 + 0x2d0]
mov eax, esi
call fcn.0048ebec
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xd0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
mov dword [eax + 0xd0], edx
mov edx, dword [ebp - 4]
mov dword [eax + 0x30], edx
mov dword [eax + 0x2c], 0x497dc8
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x94]
mov dword [eax + 0x94], ecx
mov ecx, dword [edx + 0x98]
mov dword [eax + 0x98], ecx
mov edx, dword [ebp - 4]
mov dword [eax + 0x38], edx
mov dword [eax + 0x34], 0x497bd4
mov byte [eax + 0x30d], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x379], 1
mov eax, dword [ebp - 4]
call fcn.0048bfb8
mov eax, dword [ebp - 4]
cmp byte [eax + 0x370], 0
jne 0x4950a9
call fcn.004036bc
jmp 0x49563c
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00494ad0
mov eax, dword [ebp - 4]
cmp word [eax + 0x3ba], 0
je 0x4950dc
mov eax, dword [0x5536c4]
mov eax, dword [eax]
push eax
mov esi, dword [ebp - 4]
mov cl, 0xb
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x3bc]
call dword [esi + 0x3b8]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x331], 0
jne 0x49510c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x332], 0
jne 0x49510c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x370], 0
je 0x49510c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x310], 0
jne 0x49511a
mov byte [ebp - 0x19], 1
call fcn.004036bc
jmp 0x49563c
test bl, bl
jne 0x495152
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe8], 0xa
je 0x495152
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe8], 0x10
je 0x495152
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe8], 0xb
je 0x495152
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe8], 0xd
jne 0x4951df
mov bl, 1
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0049736c
test al, al
je 0x495184
mov eax, dword [ebp - 4]
cmp byte [eax + 0x370], 0
je 0x495184
mov eax, dword [ebp - 0x14]
mov edx, dword [0x5536c4]
mov edx, dword [edx]
call fcn.00403f34
jne 0x495186
xor ebx, ebx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x331], 0
jne 0x4951df
mov eax, dword [ebp - 4]
cmp byte [eax + 0x332], 0
jne 0x4951df
mov eax, dword [ebp - 4]
cmp byte [eax + 0x370], 0
je 0x4951df
mov eax, dword [ebp - 4]
cmp dword [eax + 0x310], 0
je 0x4951df
mov eax, dword [ebp - 4]
cmp word [eax + 0x3ba], 0
je 0x4951df
mov eax, dword [0x5536c4]
mov eax, dword [eax]
push eax
mov esi, dword [ebp - 4]
mov cl, 0xb
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x3bc]
call dword [esi + 0x3b8]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x331], 0
jne 0x49520f
mov eax, dword [ebp - 4]
cmp byte [eax + 0x332], 0
jne 0x49520f
mov eax, dword [ebp - 4]
cmp byte [eax + 0x370], 0
je 0x49520f
mov eax, dword [ebp - 4]
cmp dword [eax + 0x310], 0
jne 0x49521d
mov byte [ebp - 0x19], 1
call fcn.004036bc
jmp 0x49563c
test bl, bl
je 0x495249
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00494d60
test al, al
jne 0x49533a
mov byte [ebp - 0x19], 1
call fcn.004036bc
jmp 0x49563c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x420]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x41c]
mov eax, dword [ebp - 4]
call fcn.00499c14
mov edx, dword [ebp - 4]
mov esi, dword [edx + 0x310]
mov dword [esi + 0xf8], eax
mov eax, esi
mov dl, 1
call fcn.0048d050
mov eax, dword [ebp - 4]
cmp byte [eax + 0x331], 0
jne 0x49529f
mov eax, dword [ebp - 4]
cmp byte [eax + 0x332], 0
jne 0x49529f
mov eax, dword [ebp - 4]
cmp byte [eax + 0x370], 0
jne 0x4952ad
mov byte [ebp - 0x19], 1
call fcn.004036bc
jmp 0x49563c
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0048fbe4
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
call fcn.0048ed18
mov edx, dword [ebp - 0x24]
pop eax
call fcn.00403e2c
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0049778c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x331], 0
jne 0x49533a
mov eax, dword [ebp - 4]
cmp byte [eax + 0x332], 0
jne 0x49533a
mov eax, dword [ebp - 4]
cmp byte [eax + 0x370], 0
je 0x49533a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x310], 0
je 0x49533a
mov eax, dword [ebp - 4]
cmp word [eax + 0x3ba], 0
je 0x49533a
mov eax, dword [0x5536c4]
mov eax, dword [eax]
push eax
mov esi, dword [ebp - 4]
mov cl, 0xb
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x3bc]
call dword [esi + 0x3b8]
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x2e0]
cmp ax, 0x12c
jle 0x49538b
cmp ax, 0x258
jge 0x49538b
mov eax, dword [ebp - 4]
cmp byte [eax + 0x370], 0
jne 0x49538b
mov eax, dword [ebp - 4]
cmp word [eax + 0x3ca], 0
jne 0x49537d
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x491eac]
call fcn.0040ba70
call fcn.0040361c
mov byte [ebp - 0x19], 1
call fcn.004036bc
jmp 0x49563c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x310], 0
jne 0x4953a5
mov byte [ebp - 0x19], 1
call fcn.004036bc
jmp 0x49563c
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov dword [eax + 0x2e8], edx
mov dword [eax + 0x2e4], 0x494b50
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 8]
mov edx, 0x49567c
call fcn.00403e70
mov edx, dword [ebp - 0x20]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00494234
mov eax, dword [ebp - 4]
cmp byte [eax + 0x331], 0
jne 0x495431
mov eax, dword [ebp - 4]
cmp byte [eax + 0x332], 0
jne 0x495431
mov eax, dword [ebp - 4]
cmp byte [eax + 0x370], 0
je 0x495431
mov eax, dword [ebp - 4]
cmp dword [eax + 0x310], 0
je 0x495431
mov eax, dword [ebp - 4]
cmp word [eax + 0x3ba], 0
je 0x495431
mov eax, dword [0x5536c4]
mov eax, dword [eax]
push eax
mov esi, dword [ebp - 4]
mov cl, 0xb
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x3bc]
call dword [esi + 0x3b8]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x310], 0
jne 0x495447
call fcn.004036bc
jmp 0x49563c
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x2e0]
cmp ax, 0x12c
jle 0x495520
cmp ax, 0x258
jge 0x495520
cmp ax, 0x1a9
je 0x495520
mov eax, dword [ebp - 4]
cmp byte [eax + 0x370], 0
je 0x495520
mov eax, dword [ebp - 8]
mov edx, dword [0x5536c4]
mov edx, dword [edx]
call fcn.00403f34
je 0x4954f1
mov edx, 0x49567c
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00494234
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x2e0]
cmp ax, 0x12c
jle 0x4954b6
cmp ax, 0x258
jl 0x4954c2
mov eax, dword [ebp - 4]
cmp byte [eax + 0x370], 0
jne 0x495520
mov eax, dword [ebp - 4]
cmp word [eax + 0x3ca], 0
jne 0x4954e3
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x491eac]
call fcn.0040ba70
call fcn.0040361c
mov byte [ebp - 0x19], 1
call fcn.004036bc
jmp 0x49563c
mov eax, dword [ebp - 4]
cmp word [eax + 0x3ca], 0
jne 0x495512
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x491eac]
call fcn.0040ba70
call fcn.0040361c
mov byte [ebp - 0x19], 1
call fcn.004036bc
jmp 0x49563c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x310], 0
jne 0x49553a
mov byte [ebp - 0x19], 1
call fcn.004036bc
jmp 0x49563c
mov eax, dword [ebp - 4]
test byte [eax + 0x2f1], 1
jne 0x495570
mov eax, dword [ebp - 4]
cmp word [eax + 0x2e0], 0x12c
jge 0x495570
mov eax, dword [ebp - 4]
cmp word [eax + 0x2e0], 0x258
jge 0x495570
test bl, bl
jne 0x495570
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004984c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49563c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
test eax, eax
je 0x495618
call fcn.0048d3a8
cmp byte [ebp - 0x19], 0
jne 0x4955c3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
cmp byte [eax + 0x370], 0
je 0x4955c3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
mov edx, dword [ebp - 4]
mov dword [eax + 0x60], edx
mov dword [eax + 0x5c], 0x497d88
jmp 0x495618
cmp byte [ebp - 0x19], 0
jne 0x4955df
mov eax, dword [ebp - 4]
cmp byte [eax + 0x37a], 0
je 0x4955df
mov eax, dword [ebp - 4]
mov byte [eax + 0x41a], 1
mov eax, dword [ebp - 4]
cmp word [eax + 0x3c2], 0
je 0x495600
mov ebx, dword [ebp - 4]
mov cl, 0xb
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x3c4]
call dword [ebx + 0x3c0]
push 0
push 0
push 0x46a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
push eax
call sub.user32.dll_PostMessageA
cmp byte [ebp - 0x19], 0
je 0x495631
xor ecx, ecx
mov dl, 1
mov eax, dword [0x491eac]
call fcn.0040ba70
call fcn.0040361c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49566b
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00403bcc
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00403bcc
ret