Function at 0x63538c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x1d
push 0
push 0
dec ecx
jne 0x635395
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
call fcn.004087a4
xor eax, eax
push ebp
push 0x6356b4
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
jne 0x6353cc
mov edi, dword [esi + 0x140]
mov eax, dword [esi + 0xb8]
push eax
push 0
mov ecx, esi
mov dl, 1
mov eax, dword [0x5bad78]
call fcn.005bb31c
mov dword [ebp - 8], eax
mov eax, dword [esi + 0xc]
mov edx, dword [ebp - 8]
call fcn.005d6858
mov eax, dword [ebp - 8]
call fcn.005d5e64
xor edx, edx
push ebp
push 0x635661
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [esi + 0x58]
mov edx, dword [ebp - 8]
mov dword [edx + 0x68], eax
mov eax, dword [ebp - 8]
mov dword [eax + 0x70], ebx
mov eax, dword [ebx + 0x2c]
mov edx, dword [ebp - 8]
mov dword [edx + 0x78], eax
mov eax, dword [ebp - 8]
add eax, 0x44
mov edx, dword [ebp - 4]
call fcn.00408af4
mov eax, dword [ebp - 8]
mov dword [eax + 0x6c], edi
mov eax, dword [ebp - 8]
mov dword [eax + 0x4c], 0xffffffff
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x635458
sub ebx, 4
mov ebx, dword [ebx]
push ebx
mov eax, dword [ebp - 8]
add eax, 0x74
mov ecx, 1
mov edx, dword [0x5bad18]
call fcn.0040ae7c
add esp, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x74]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x635487
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
test edi, edi
jl 0x6354e8
inc edi
xor ebx, ebx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
cmp dword [eax + ebx*4], 0
je 0x6354b9
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x74]
lea eax, [eax + ebx*4]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x2c]
mov edx, dword [edx + ebx*4]
mov edx, dword [edx + 0x28]
call fcn.00408af4
jmp 0x6354e4
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.0041f704
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x6356d4
call fcn.00409998
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x74]
lea eax, [eax + ebx*4]
call fcn.00409838
inc ebx
dec edi
jne 0x635491
test byte [esi + 0x50], 0x10
je 0x635513
movzx eax, byte [0x6356e4]
push eax
push 0
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 4]
call fcn.00638b98
lea ecx, [ebp - 0x50]
mov edx, 0x6356ec
mov eax, dword [ebp - 8]
call fcn.005d23a8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x74]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x635528
sub ebx, 4
mov ebx, dword [ebx]
movzx eax, byte [0x6356e4]
push eax
push 0
mov dword [ebp - 0x84], ebx
fild dword [ebp - 0x84]
fstp qword [ebp - 0x8c]
wait
push dword [ebp - 0x88]
push dword [ebp - 0x8c]
lea eax, [ebp - 0x80]
call fcn.00638b7c
lea ecx, [ebp - 0x80]
mov edx, 0x6356fc
mov eax, dword [ebp - 8]
call fcn.005d23a8
mov eax, dword [esi + 0xb0]
push eax
push 0
mov ecx, esi
mov dl, 1
mov eax, dword [0x5ceb8c]
call fcn.005d1c38
mov ebx, eax
mov eax, dword [esi + 0xc]
mov edx, ebx
call fcn.005d6858
movzx eax, byte [0x63570c]
push eax
push 0
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 8]
call fcn.00638bb4
lea ecx, [ebp - 0xbc]
mov edx, 0x635714
mov eax, ebx
call fcn.005d23a8
movzx eax, byte [0x63572c]
push eax
push 0
lea edx, [ebp - 0xec]
mov eax, ebx
call fcn.00638bb4
lea ecx, [ebp - 0xec]
mov edx, 0x635734
mov eax, dword [ebp - 8]
call fcn.005d23a8
cmp dword [esi + 0x4c], 0
je 0x635628
mov eax, dword [esi + 0x134]
push eax
movzx edx, byte [0x6356e4]
push edx
push 0
mov ecx, eax
mov edx, 0x63574c
mov eax, dword [ebp - 8]
call fcn.005d22b4
mov eax, dword [esi + 0x134]
push eax
movzx edx, byte [0x6356e4]
push edx
push 0
mov ecx, eax
mov edx, 0x635760
mov eax, dword [ebp - 8]
call fcn.005d22b4
jmp 0x63564b
test byte [esi + 0x50], 0x10
je 0x63564b
movzx eax, byte [0x6356e4]
push eax
push 0
mov ecx, dword [0x6ca47c]
mov edx, 0x635760
mov eax, dword [ebp - 8]
call fcn.005d23a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x635668
mov eax, dword [ebp - 8]
call fcn.005d5e68
ret