Function at 0xb05184
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0xb0518d
push ecx
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xb05498
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00af0624
mov edx, 0xb054ac
call fcn.00af0750
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
call fcn.00af0624
mov edx, 0xb054c4
call fcn.00af0750
add eax, 8
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 8]
call fcn.00405240
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
push eax
mov ecx, 0xb054dc
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00b0bedc
mov eax, dword [ebp - 0xc]
fild qword [eax + 0x10]
fdiv dword [0xb054e8]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x14]
mov eax, 0xb054f4
call fcn.0040cc18
mov al, byte [0xb054fc]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
mov edx, dword [0xba25f0]
mov dl, byte [edx]
call fcn.004053d4
mov edx, dword [ebp - 0x28]
mov ecx, 0xb05508
mov eax, dword [ebp - 0x14]
call fcn.00410968
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x14]
call fcn.00405284
mov eax, dword [ebp - 0x18]
call fcn.00af0624
mov edx, 0xb05514
call fcn.00af0750
add eax, 8
mov edx, dword [ebp - 0x14]
call fcn.00405240
mov eax, dword [ebp - 0x18]
call fcn.00af0624
mov edx, 0xb0552c
call fcn.00af0750
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call fcn.00af0624
mov edx, 0xb05544
call fcn.00af0750
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call fcn.00af0624
mov edx, 0xb0555c
call fcn.00af0750
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
fild qword [eax + 0x20]
fdiv dword [0xb054e8]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x14]
mov eax, 0xb054f4
call fcn.0040cc18
mov al, byte [0xb054fc]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
mov edx, dword [0xba25f0]
mov dl, byte [edx]
call fcn.004053d4
mov edx, dword [ebp - 0x30]
mov ecx, 0xb05508
mov eax, dword [ebp - 0x14]
call fcn.00410968
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
call fcn.00405284
mov eax, dword [ebp - 0x1c]
call fcn.00af0624
mov edx, 0xb05570
call fcn.00af0750
add eax, 8
mov edx, dword [ebp - 0x14]
call fcn.00405240
mov eax, dword [ebp - 0x1c]
call fcn.00af0624
mov edx, 0xb05588
call fcn.00af0750
add eax, 8
push eax
mov eax, dword [ebp - 0xc]
push dword [eax + 0x2c]
push dword [eax + 0x28]
lea edx, [ebp - 0x34]
mov eax, 0xb055a4
call fcn.0040e1d4
mov edx, dword [ebp - 0x34]
pop eax
call fcn.00405240
mov eax, dword [ebp - 0x1c]
call fcn.00af0624
mov edx, 0xb055b8
call fcn.00af0750
add eax, 8
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x30]
call fcn.00405240
mov eax, dword [ebp - 0x1c]
call fcn.00af0624
mov edx, 0xb055d0
call fcn.00af0750
add eax, 8
push eax
mov eax, dword [ebp - 0xc]
push dword [eax + 0x3c]
push dword [eax + 0x38]
lea edx, [ebp - 0x38]
mov eax, 0xb055a4
call fcn.0040e1d4
mov edx, dword [ebp - 0x38]
pop eax
call fcn.00405240
mov eax, dword [ebp - 0x1c]
call fcn.00af0624
mov edx, 0xb055e4
call fcn.00af0750
add eax, 8
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x40]
call fcn.00405240
mov eax, dword [ebp - 0x1c]
call fcn.00af0624
mov edx, 0xb05600
call fcn.00af0750
add eax, 8
push eax
mov eax, dword [ebp - 0xc]
push dword [eax + 0x4c]
push dword [eax + 0x48]
lea edx, [ebp - 0x3c]
mov eax, 0xb055a4
call fcn.0040e1d4
mov edx, dword [ebp - 0x3c]
pop eax
call fcn.00405240
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x50]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0xb05475
mov eax, dword [ebp - 0x18]
call fcn.00af0624
mov edx, 0xb0561c
call fcn.00af0750
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x50]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0xb05475
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x1c]
call fcn.00af0624
mov edx, 0xb05638
call fcn.00af0750
add eax, 8
push eax
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x50]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x40]
pop eax
call fcn.00405240
inc dword [ebp - 0x10]
dec dword [ebp - 0x20]
jne 0xb0543d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb0549f
lea eax, [ebp - 0x40]
mov edx, 8
call fcn.00405210
lea eax, [ebp - 0x14]
call fcn.004051ec
ret