Function at 0x4981f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4981f9
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.00404044
xor eax, eax
push ebp
push 0x498882
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 + 0x1400], bl
xor edx, edx
push ebp
push 0x498850
push dword fs:[edx]
mov dword fs:[edx], esp
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x48db40]
call fcn.0048defc
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.00492068
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], 0x49afd8
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], 0x49adec
mov byte [eax + 0x301], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x1369], 1
mov eax, dword [ebp - 4]
call fcn.0048f5a4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
jne 0x4982f7
call fcn.00403728
jmp 0x49885a
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00497dc4
mov eax, dword [ebp - 4]
cmp word [eax + 0x13ae], 0
je 0x49832a
mov eax, dword [0x54988c]
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 0x49835a
mov eax, dword [ebp - 4]
cmp byte [eax + 0x32a], 0
jne 0x49835a
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
je 0x49835a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x308], 0
jne 0x498368
mov byte [ebp - 0x19], 1
call fcn.00403728
jmp 0x49885a
test bl, bl
jne 0x498394
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe0], 0xa
je 0x498394
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe0], 0xb
je 0x498394
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe0], 0xd
jne 0x498421
mov bl, 1
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0049a594
test al, al
je 0x4983c6
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
je 0x4983c6
mov eax, dword [ebp - 0x14]
mov edx, dword [0x54988c]
mov edx, dword [edx]
call fcn.00403fa0
jne 0x4983c8
xor ebx, ebx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x329], 0
jne 0x498421
mov eax, dword [ebp - 4]
cmp byte [eax + 0x32a], 0
jne 0x498421
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
je 0x498421
mov eax, dword [ebp - 4]
cmp dword [eax + 0x308], 0
je 0x498421
mov eax, dword [ebp - 4]
cmp word [eax + 0x13ae], 0
je 0x498421
mov eax, dword [0x54988c]
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 0x498451
mov eax, dword [ebp - 4]
cmp byte [eax + 0x32a], 0
jne 0x498451
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
je 0x498451
mov eax, dword [ebp - 4]
cmp dword [eax + 0x308], 0
jne 0x49845f
mov byte [ebp - 0x19], 1
call fcn.00403728
jmp 0x49885a
test bl, bl
je 0x498487
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00497fdc
test al, al
jne 0x498578
call fcn.00403728
jmp 0x49885a
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1408]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x1404]
mov eax, dword [ebp - 4]
call fcn.0049ca14
mov edx, dword [ebp - 4]
mov esi, dword [edx + 0x308]
mov dword [esi + 0xf0], eax
mov eax, esi
mov dl, 1
call fcn.004906d8
mov eax, dword [ebp - 4]
cmp byte [eax + 0x329], 0
jne 0x4984dd
mov eax, dword [ebp - 4]
cmp byte [eax + 0x32a], 0
jne 0x4984dd
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
jne 0x4984eb
mov byte [ebp - 0x19], 1
call fcn.00403728
jmp 0x49885a
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00492f3c
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call fcn.004921ac
mov edx, dword [ebp - 0x24]
pop eax
call fcn.00403e98
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0049a9b4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x329], 0
jne 0x498578
mov eax, dword [ebp - 4]
cmp byte [eax + 0x32a], 0
jne 0x498578
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
je 0x498578
mov eax, dword [ebp - 4]
cmp dword [eax + 0x308], 0
je 0x498578
mov eax, dword [ebp - 4]
cmp word [eax + 0x13ae], 0
je 0x498578
mov eax, dword [0x54988c]
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 0x4985c9
cmp ax, 0x258
jge 0x4985c9
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
jne 0x4985c9
mov eax, dword [ebp - 4]
cmp word [eax + 0x13be], 0
jne 0x4985bb
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x4951a0]
call fcn.0040bbb8
call fcn.00403688
mov byte [ebp - 0x19], 1
call fcn.00403728
jmp 0x49885a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x308], 0
jne 0x4985e3
mov byte [ebp - 0x19], 1
call fcn.00403728
jmp 0x49885a
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov dword [eax + 0x2e0], edx
mov dword [eax + 0x2dc], 0x497e44
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 8]
mov edx, 0x498898
call fcn.00403edc
mov edx, dword [ebp - 0x20]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00497564
mov eax, dword [ebp - 4]
cmp byte [eax + 0x329], 0
jne 0x49866f
mov eax, dword [ebp - 4]
cmp byte [eax + 0x32a], 0
jne 0x49866f
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
je 0x49866f
mov eax, dword [ebp - 4]
cmp dword [eax + 0x308], 0
je 0x49866f
mov eax, dword [ebp - 4]
cmp word [eax + 0x13ae], 0
je 0x49866f
mov eax, dword [0x54988c]
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 0x498685
call fcn.00403728
jmp 0x49885a
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x2d8]
cmp ax, 0x12c
jle 0x49875e
cmp ax, 0x258
jge 0x49875e
cmp ax, 0x1a9
je 0x49875e
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
je 0x49875e
mov eax, dword [ebp - 8]
mov edx, dword [0x54988c]
mov edx, dword [edx]
call fcn.00403fa0
je 0x49872f
mov edx, 0x498898
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00497564
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x2d8]
cmp ax, 0x12c
jle 0x4986f4
cmp ax, 0x258
jl 0x498700
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
jne 0x49875e
mov eax, dword [ebp - 4]
cmp word [eax + 0x13be], 0
jne 0x498721
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x4951a0]
call fcn.0040bbb8
call fcn.00403688
mov byte [ebp - 0x19], 1
call fcn.00403728
jmp 0x49885a
mov eax, dword [ebp - 4]
cmp word [eax + 0x13be], 0
jne 0x498750
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x4951a0]
call fcn.0040bbb8
call fcn.00403688
mov byte [ebp - 0x19], 1
call fcn.00403728
jmp 0x49885a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x308], 0
jne 0x498778
mov byte [ebp - 0x19], 1
call fcn.00403728
jmp 0x49885a
mov eax, dword [ebp - 4]
test byte [eax + 0x2e9], 1
jne 0x4987ae
mov eax, dword [ebp - 4]
cmp word [eax + 0x2d8], 0x12c
jge 0x4987ae
mov eax, dword [ebp - 4]
cmp word [eax + 0x2d8], 0x258
jge 0x4987ae
test bl, bl
jne 0x4987ae
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0049b628
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49885a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
test eax, eax
je 0x498836
call fcn.00490a34
cmp byte [ebp - 0x19], 0
jne 0x4987fd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
cmp byte [eax + 0x1360], 0
je 0x4987fd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov edx, dword [ebp - 4]
mov dword [eax + 0x58], edx
mov dword [eax + 0x54], 0x49afa0
jmp 0x498836
mov eax, dword [ebp - 4]
cmp word [eax + 0x13b6], 0
je 0x49881e
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 0x49884f
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4951a0]
call fcn.0040bbb8
call fcn.00403688
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498889
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00403c38
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00403c38
ret