Function at 0x537385
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x5372e4
push ebx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x537545
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, 0x53755c
call fcn.004051d0
lea eax, [ebp - 0x18]
call fcn.0047c32c
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
mov ecx, 0x537574
call fcn.00405444
mov eax, dword [ebp - 0x10]
call fcn.0040c0d8
test al, al
je 0x537385
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x4414f0]
call fcn.004415a0
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x53737e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x53755c
lea eax, [ebp - 8]
push eax
mov ecx, 0x537588
mov edx, 0x53759c
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x537385
mov eax, dword [ebp - 0xc]
call fcn.004041e8
ret
mov eax, dword [0x57d9e0]
mov eax, dword [eax]
call fcn.004ef5d4
mov eax, dword [0x57d9e0]
mov eax, dword [eax]
cmp dword [eax + 0x10], 0
jne 0x5373b8
lea eax, [ebp - 0x1c]
call fcn.0047cc94
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
mov ecx, 0x5375a8
call fcn.00405444
jmp 0x5373e4
lea eax, [ebp - 0x20]
call fcn.0047cc94
push dword [ebp - 0x20]
push 0x5375bc
mov eax, dword [0x57d9e0]
mov eax, dword [eax]
push dword [eax + 0xc]
push 0x5375d0
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.004054b8
mov eax, dword [ebp - 4]
mov edx, dword [0x57d9e0]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.0040518c
mov eax, dword [0x57d9e0]
mov eax, dword [eax]
mov eax, dword [eax + 8]
cdq
push edx
push eax
lea edx, [ebp - 0x24]
mov eax, 3
call fcn.0047cd70
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
add eax, 4
call fcn.0040518c
mov eax, dword [ebp - 4]
add eax, 8
call fcn.00405138
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.00405138
mov eax, dword [ebp - 4]
add eax, 0x10
mov edx, dword [0x57d9e0]
mov edx, dword [edx]
mov edx, dword [edx + 4]
call fcn.0040518c
mov eax, dword [ebp - 4]
add eax, 0x14
mov ecx, 0x5375dc
mov edx, dword [ebp - 0x14]
call fcn.00405444
mov eax, dword [0x57e214]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
lea eax, [ebp - 0x28]
call fcn.0047cc94
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
add eax, 0x1c
mov ecx, 0x5375bc
call fcn.00405444
mov eax, dword [ebp - 4]
add eax, 0x20
mov ecx, 0x5375ec
mov edx, dword [ebp - 0x14]
call fcn.00405444
mov eax, dword [ebp - 4]
add eax, 0x24
mov edx, dword [ebp - 0x14]
call fcn.0040518c
mov eax, dword [ebp - 4]
add eax, 0x28
mov edx, 0x537614
call fcn.0040518c
mov eax, dword [ebp - 4]
add eax, 0x30
call fcn.00405138
mov eax, dword [ebp - 4]
add eax, 0x34
call fcn.00405138
mov eax, dword [ebp - 4]
add eax, 0x38
mov edx, dword [ebp - 8]
call fcn.0040518c
mov eax, dword [ebp - 4]
mov byte [eax + 0x3c], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], edx
mov eax, dword [ebp - 4]
add eax, 0x48
mov edx, dword [ebp - 8]
call fcn.0040518c
mov eax, dword [ebp - 4]
add eax, 0x4c
mov edx, dword [ebp - 8]
call fcn.0040518c
mov eax, dword [ebp - 4]
add eax, 0x50
mov edx, dword [0x57d9e0]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.0040518c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53754c
lea eax, [ebp - 0x28]
mov edx, 7
call fcn.0040515c
lea eax, [ebp - 8]
call fcn.00405138
ret