Function at 0x4945a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4945a9
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 0x494c3e
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 0x494c0c
push dword fs:[edx]
mov dword fs:[edx], esp
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x489830]
call fcn.00489be8
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.0048e074
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], 0x49735c
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], 0x497170
mov byte [eax + 0x301], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x1369], 1
mov eax, dword [ebp - 4]
call fcn.0048b598
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
jne 0x4946a7
call fcn.004036bc
jmp 0x494c16
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00494170
mov eax, dword [ebp - 4]
cmp word [eax + 0x13ae], 0
je 0x4946da
mov eax, dword [0x54c6b8]
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 0x49470a
mov eax, dword [ebp - 4]
cmp byte [eax + 0x32a], 0
jne 0x49470a
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
je 0x49470a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x308], 0
jne 0x494718
mov byte [ebp - 0x19], 1
call fcn.004036bc
jmp 0x494c16
test bl, bl
jne 0x494750
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe0], 0xa
je 0x494750
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe0], 0x10
je 0x494750
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe0], 0xb
je 0x494750
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe0], 0xd
jne 0x4947dd
mov bl, 1
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004968d4
test al, al
je 0x494782
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
je 0x494782
mov eax, dword [ebp - 0x14]
mov edx, dword [0x54c6b8]
mov edx, dword [edx]
call fcn.00403f34
jne 0x494784
xor ebx, ebx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x329], 0
jne 0x4947dd
mov eax, dword [ebp - 4]
cmp byte [eax + 0x32a], 0
jne 0x4947dd
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
je 0x4947dd
mov eax, dword [ebp - 4]
cmp dword [eax + 0x308], 0
je 0x4947dd
mov eax, dword [ebp - 4]
cmp word [eax + 0x13ae], 0
je 0x4947dd
mov eax, dword [0x54c6b8]
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 0x49480d
mov eax, dword [ebp - 4]
cmp byte [eax + 0x32a], 0
jne 0x49480d
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
je 0x49480d
mov eax, dword [ebp - 4]
cmp dword [eax + 0x308], 0
jne 0x49481b
mov byte [ebp - 0x19], 1
call fcn.004036bc
jmp 0x494c16
test bl, bl
je 0x494843
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00494388
test al, al
jne 0x494934
call fcn.004036bc
jmp 0x494c16
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.00499080
mov edx, dword [ebp - 4]
mov esi, dword [edx + 0x308]
mov dword [esi + 0xf0], eax
mov eax, esi
mov dl, 1
call fcn.0048c630
mov eax, dword [ebp - 4]
cmp byte [eax + 0x329], 0
jne 0x494899
mov eax, dword [ebp - 4]
cmp byte [eax + 0x32a], 0
jne 0x494899
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
jne 0x4948a7
mov byte [ebp - 0x19], 1
call fcn.004036bc
jmp 0x494c16
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0048f01c
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call fcn.0048e1b8
mov edx, dword [ebp - 0x24]
pop eax
call fcn.00403e2c
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00496d38
mov eax, dword [ebp - 4]
cmp byte [eax + 0x329], 0
jne 0x494934
mov eax, dword [ebp - 4]
cmp byte [eax + 0x32a], 0
jne 0x494934
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
je 0x494934
mov eax, dword [ebp - 4]
cmp dword [eax + 0x308], 0
je 0x494934
mov eax, dword [ebp - 4]
cmp word [eax + 0x13ae], 0
je 0x494934
mov eax, dword [0x54c6b8]
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 0x494985
cmp ax, 0x258
jge 0x494985
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
jne 0x494985
mov eax, dword [ebp - 4]
cmp word [eax + 0x13be], 0
jne 0x494977
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x4914ac]
call fcn.0040badc
call fcn.0040361c
mov byte [ebp - 0x19], 1
call fcn.004036bc
jmp 0x494c16
add al, byte [eax]
invalid
mov eax, dword [ebp - 4]
cmp dword [eax + 0x308], 0
jne 0x49499f
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov dword [eax + 0x2e0], edx
mov dword [eax + 0x2dc], 0x4941f0
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 8]
mov edx, 0x494c54
call fcn.00403e70
mov edx, dword [ebp - 0x20]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.004938d8
mov eax, dword [ebp - 4]
cmp byte [eax + 0x329], 0
jne 0x494a2b
mov eax, dword [ebp - 4]
cmp byte [eax + 0x32a], 0
jne 0x494a2b
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
je 0x494a2b
mov eax, dword [ebp - 4]
cmp dword [eax + 0x308], 0
je 0x494a2b
mov eax, dword [ebp - 4]
cmp word [eax + 0x13ae], 0
je 0x494a2b
mov eax, dword [0x54c6b8]
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 0x494a41
call fcn.004036bc
jmp 0x494c16
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x2d8]
cmp ax, 0x12c
jle 0x494b1a
cmp ax, 0x258
jge 0x494b1a
cmp ax, 0x1a9
je 0x494b1a
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
je 0x494b1a
mov eax, dword [ebp - 8]
mov edx, dword [0x54c6b8]
mov edx, dword [edx]
call fcn.00403f34
je 0x494aeb
mov edx, 0x494c54
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.004938d8
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x2d8]
cmp ax, 0x12c
jle 0x494ab0
cmp ax, 0x258
jl 0x494abc
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1360], 0
jne 0x494b1a
mov eax, dword [ebp - 4]
cmp word [eax + 0x13be], 0
jne 0x494add
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x4914ac]
call fcn.0040badc
call fcn.0040361c
mov byte [ebp - 0x19], 1
call fcn.004036bc
jmp 0x494c16
mov eax, dword [ebp - 4]
cmp word [eax + 0x13be], 0
jne 0x494b0c
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x4914ac]
call fcn.0040badc
call fcn.0040361c
mov byte [ebp - 0x19], 1
call fcn.004036bc
jmp 0x494c16
mov eax, dword [ebp - 4]
cmp dword [eax + 0x308], 0
jne 0x494b34
mov byte [ebp - 0x19], 1
call fcn.004036bc
jmp 0x494c16
mov eax, dword [ebp - 4]
test byte [eax + 0x2e9], 1
jne 0x494b6a
mov eax, dword [ebp - 4]
cmp word [eax + 0x2d8], 0x12c
jge 0x494b6a
mov eax, dword [ebp - 4]
cmp word [eax + 0x2d8], 0x258
jge 0x494b6a
test bl, bl
jne 0x494b6a
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00497a58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494c16
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
test eax, eax
je 0x494bf2
call fcn.0048c98c
cmp byte [ebp - 0x19], 0
jne 0x494bb9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
cmp byte [eax + 0x1360], 0
je 0x494bb9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov edx, dword [ebp - 4]
mov dword [eax + 0x58], edx
mov dword [eax + 0x54], 0x497324
jmp 0x494bf2
mov eax, dword [ebp - 4]
cmp word [eax + 0x13b6], 0
je 0x494bda
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 0x494c0b
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4914ac]
call fcn.0040badc
call fcn.0040361c
ret