Function at 0x49a0b4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x1f
push 0
push 0
dec ecx
jne 0x49a0bd
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00404054
xor eax, eax
push ebp
push 0x49a7ee
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x49a7bb
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 8]
mov dl, 1
mov eax, dword [0x40f82c]
call fcn.00402e6c
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x49a7b4
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x49a78c
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.004558b0
test al, al
jne 0x49a149
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.004036d4
jmp 0x49a7bb
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00456254
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x49a77a
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], 0
xor eax, eax
push ebp
push 0x49a764
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.00408a40
cmp dword [ebp - 0x2c], 0
jne 0x49a1aa
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49a76e
push 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x38]
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 0xc]
call fcn.0045baf8
mov edx, dword [ebp - 0x34]
mov ecx, 0x49a804
mov eax, dword [ebp - 8]
call fcn.004560c0
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0x1c]
call fcn.00408a40
cmp dword [ebp - 0x3c], 0
jne 0x49a1fa
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49a76e
push 0
push 2
push 0xf4240
push 0
push 0
push 0
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x495fc4]
call fcn.004998fc
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x49a729
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x49a814
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x48]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x48]
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0xc]
call fcn.0045baf8
mov edx, dword [ebp - 0x44]
mov ecx, 0x49a820
mov eax, dword [ebp - 8]
call fcn.004560c0
mov eax, dword [ebp - 0x40]
call fcn.00408c24
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x14], eax
push 0x49a814
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x54]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x54]
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 0xc]
call fcn.0045baf8
mov edx, dword [ebp - 0x50]
mov ecx, 0x49a830
mov eax, dword [ebp - 8]
call fcn.004560c0
mov eax, dword [ebp - 0x4c]
call fcn.00408c24
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x10], al
push 0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x60]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x60]
lea ecx, [ebp - 0x5c]
mov eax, dword [ebp - 0xc]
call fcn.0045baf8
mov edx, dword [ebp - 0x5c]
mov ecx, 0x49a844
mov eax, dword [ebp - 8]
call fcn.004560c0
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x18]
add eax, 0x18
call fcn.00403c58
push 0x49a858
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x6c]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x6c]
lea ecx, [ebp - 0x68]
mov eax, dword [ebp - 0xc]
call fcn.0045baf8
mov edx, dword [ebp - 0x68]
mov ecx, 0x49a868
mov eax, dword [ebp - 8]
call fcn.004560c0
mov eax, dword [ebp - 0x64]
call fcn.00408c24
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x1c], eax
xor edx, edx
mov eax, dword [ebp - 0x18]
call fcn.00499a4c
call fcn.00409d40
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x74]
call fcn.004098c4
mov eax, dword [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x7c]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x7c]
lea ecx, [ebp - 0x78]
mov eax, dword [ebp - 0xc]
call fcn.0045baf8
mov edx, dword [ebp - 0x78]
mov ecx, 0x49a874
mov eax, dword [ebp - 8]
call fcn.004560c0
mov eax, dword [ebp - 0x70]
call fcn.004098f4
mov eax, dword [ebp - 0x18]
fstp qword [eax + 0x20]
wait
push 0x49a88c
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x88]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x88]
lea ecx, [ebp - 0x84]
mov eax, dword [ebp - 0xc]
call fcn.0045baf8
mov edx, dword [ebp - 0x84]
mov ecx, 0x49a898
mov eax, dword [ebp - 8]
call fcn.004560c0
mov eax, dword [ebp - 0x80]
call fcn.00408c24
mov edx, eax
mov eax, dword [ebp - 0x18]
call fcn.00499a40
push 0x49a814
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x94]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
mov eax, dword [ebp - 0xc]
call fcn.0045baf8
mov edx, dword [ebp - 0x90]
mov ecx, 0x49a8b0
mov eax, dword [ebp - 8]
call fcn.004560c0
mov eax, dword [ebp - 0x8c]
call fcn.00408c24
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x28], al
push 0x49a814
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0xa0]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0xa0]
lea ecx, [ebp - 0x9c]
mov eax, dword [ebp - 0xc]
call fcn.0045baf8
mov edx, dword [ebp - 0x9c]
mov ecx, 0x49a8cc
mov eax, dword [ebp - 8]
call fcn.004560c0
mov eax, dword [ebp - 0x98]
call fcn.00408c24
mov edx, dword [ebp - 0x18]
mov word [edx + 0x2a], ax
push 0x49a814
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0xac]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0xac]
lea ecx, [ebp - 0xa8]
mov eax, dword [ebp - 0xc]
call fcn.0045baf8
mov edx, dword [ebp - 0xa8]
mov ecx, 0x49a8dc
mov eax, dword [ebp - 8]
call fcn.004560c0
mov eax, dword [ebp - 0xa4]
call fcn.00408c24
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x2c], al
push 0
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0xb8]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0xb8]
lea ecx, [ebp - 0xb4]
mov eax, dword [ebp - 0xc]
call fcn.0045baf8
mov edx, dword [ebp - 0xb4]
mov ecx, 0x49a8f8
mov eax, dword [ebp - 8]
call fcn.004560c0
mov edx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0x18]
add eax, 0x30
call fcn.00403c58
push 0x49a814
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0xc4]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0xc4]
lea ecx, [ebp - 0xc0]
mov eax, dword [ebp - 0xc]
call fcn.0045baf8
mov edx, dword [ebp - 0xc0]
mov ecx, 0x49a910
mov eax, dword [ebp - 8]
call fcn.004560c0
mov eax, dword [ebp - 0xbc]
call fcn.00408c24
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x34], eax
push 0x49a814
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0xd0]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0xd0]
lea ecx, [ebp - 0xcc]
mov eax, dword [ebp - 0xc]
call fcn.0045baf8
mov edx, dword [ebp - 0xcc]
mov ecx, 0x49a928
mov eax, dword [ebp - 8]
call fcn.004560c0
mov eax, dword [ebp - 0xc8]
call fcn.00408c24
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x38], eax
push 0x49a814
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0xdc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0xdc]
lea ecx, [ebp - 0xd8]
mov eax, dword [ebp - 0xc]
call fcn.0045baf8
mov edx, dword [ebp - 0xd8]
mov ecx, 0x49a93c
mov eax, dword [ebp - 8]
call fcn.004560c0
mov eax, dword [ebp - 0xd4]
call fcn.00408c24
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x40], al
push 0
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0xe8]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0xe8]
lea ecx, [ebp - 0xe4]
mov eax, dword [ebp - 0xc]
call fcn.0045baf8
mov edx, dword [ebp - 0xe4]
mov ecx, 0x49a950
mov eax, dword [ebp - 8]
call fcn.004560c0
mov edx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0x18]
add eax, 0x3c
call fcn.00403c58
push 0x49a814
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xf0]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0xf0]
lea ecx, [ebp - 0xec]
mov eax, dword [ebp - 0xc]
call fcn.0045baf8
mov edx, dword [ebp - 0xec]
mov ecx, 0x49a960
mov eax, dword [ebp - 8]
call fcn.004560c0
push 0x49a814
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0xfc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0xfc]
lea ecx, [ebp - 0xf8]
mov eax, dword [ebp - 0xc]
call fcn.0045baf8
mov edx, dword [ebp - 0xf8]
mov ecx, 0x49a960
mov eax, dword [ebp - 8]
call fcn.004560c0
mov eax, dword [ebp - 0xf4]
call fcn.00408c24
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x41], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49a733
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x14]
test al, al
je 0x49a74f
mov eax, dword [ebp - 0x18]
call fcn.00402e9c
jmp 0x49a75a
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00499a54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49a76e
inc dword [ebp - 0x10]
dec dword [ebp - 0x28]
jne 0x49a170
mov eax, dword [ebp - 8]
call fcn.0045573c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49a796
mov eax, dword [ebp - 4]
call fcn.0049b030
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a7bb
mov eax, dword [ebp - 0x14]
call fcn.00402e9c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a7f5
lea eax, [ebp - 0xfc]
mov edx, 0x35
call fcn.00403c28
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00403c28
lea eax, [ebp - 0xc]
call fcn.00403c04
ret