Function at 0x5498a4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x5498ac
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x549b7e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
xor eax, eax
push ebp
push 0x549920
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, 0x549b98
call fcn.0040b9ac
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.004057c4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, 0x10
call fcn.004b3f70
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x54992f
cmp dword [ebp - 8], 0
je 0x549b53
xor eax, eax
push ebp
push 0x549b4c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41adf8]
call fcn.00403ec0
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x549b2f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.004b4a78
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x13c]
call fcn.0040646c
inc eax
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
add eax, 0x13c
mov ecx, 1
mov edx, dword [0x5418f4]
call fcn.00406628
add esp, 4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x13c]
call fcn.00406474
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
mov edx, dword [edx + 0x13c]
lea ebx, [edx + eax*8]
lea ecx, [ebp - 0x20]
mov edx, 0x549bb0
mov eax, dword [ebp - 0xc]
call fcn.004b46fc
mov edx, dword [ebp - 0x20]
lea eax, [ebx + 8]
call fcn.00404e84
lea ecx, [ebp - 0x24]
mov edx, 0x549bc8
mov eax, dword [ebp - 0xc]
call fcn.004b46fc
mov edx, dword [ebp - 0x24]
lea eax, [ebx + 0xc]
call fcn.00404e84
lea ecx, [ebp - 0x28]
mov edx, 0x549bd8
mov eax, dword [ebp - 0xc]
call fcn.004b46fc
mov edx, dword [ebp - 0x28]
lea eax, [ebx + 4]
call fcn.00404e84
lea ecx, [ebp - 0x2c]
mov edx, 0x549be8
mov eax, dword [ebp - 0xc]
call fcn.004b46fc
mov edx, dword [ebp - 0x2c]
lea eax, [ebx + 0x24]
call fcn.00404e84
lea ecx, [ebp - 0x30]
mov edx, 0x549c00
mov eax, dword [ebp - 0xc]
call fcn.004b46fc
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 0x28]
call fcn.00404e84
lea ecx, [ebp - 0x34]
mov edx, 0x549c14
mov eax, dword [ebp - 0xc]
call fcn.004b46fc
mov edx, dword [ebp - 0x34]
lea eax, [ebx + 0x2c]
call fcn.00404e84
mov edx, 0x549c28
mov eax, dword [ebp - 0xc]
call fcn.004b4684
mov word [ebx + 0x20], ax
mov edx, 0x549c3c
mov eax, dword [ebp - 0xc]
call fcn.004b4684
mov word [ebx + 0x22], ax
mov edx, 0x549c54
mov eax, dword [ebp - 0xc]
call fcn.004b4684
mov byte [ebx + 0x10], al
mov edx, 0x549c64
mov eax, dword [ebp - 0xc]
call fcn.004b4750
fstp qword [ebx + 0x18]
wait
mov edx, 0x549c74
mov eax, dword [ebp - 0xc]
call fcn.004b4684
mov byte [ebx + 0x30], al
mov edx, 0x549c88
mov eax, dword [ebp - 0xc]
call fcn.004b4684
mov byte [ebx + 0x31], al
mov edx, 0x549c9c
mov eax, dword [ebp - 0xc]
call fcn.004b4684
mov byte [ebx + 0x32], al
mov edx, 0x549cb0
mov eax, dword [ebp - 0xc]
call fcn.004b4684
mov byte [ebx], al
mov edx, 0x549cbc
mov eax, dword [ebp - 0xc]
call fcn.004b4684
mov byte [ebx + 1], al
mov edx, 0x549ccc
mov eax, dword [ebp - 0xc]
call fcn.004b4684
mov word [ebx + 0x36], ax
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x549b36
mov eax, dword [ebp - 0xc]
call fcn.00403ef0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x549b85
lea eax, [ebp - 0x34]
mov edx, 6
call fcn.00404e54
lea eax, [ebp - 0x14]
call fcn.00404e30
lea eax, [ebp - 0x10]
call fcn.0040562c
ret