Function at 0x503be4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x503bec
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x503e9e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00503908
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
je 0x503c5a
mov eax, dword [ebp - 4]
add eax, 0x2c
mov edx, 0x503eb8
call fcn.00403f3c
mov eax, dword [ebp - 4]
push dword [eax + 0x38]
push 0x503ed0
mov eax, dword [ebp - 4]
push dword [eax + 0x2c]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404228
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov dl, byte [edx + 0x34]
call fcn.004f8fb8
jmp 0x503e83
mov eax, dword [ebp - 4]
push dword [eax + 0x38]
push 0x503edc
mov eax, dword [ebp - 4]
push dword [eax + 0x20]
push 0x503f00
mov eax, dword [ebp - 4]
push dword [eax + 0x18]
push 0x503f18
lea eax, [ebp - 0x14]
mov edx, 6
call fcn.00404228
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov dl, byte [edx + 0x34]
call fcn.004f8fb8
xor eax, eax
push ebp
push 0x503e0c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, dword [eax]
call dword [edx + 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
lea eax, [ebp - 0x18]
mov edx, 0x503f3c
call fcn.004041b4
mov edx, dword [ebp - 0x18]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
lea eax, [ebp - 0x1c]
mov edx, 0x503f50
call fcn.004041b4
mov edx, dword [ebp - 0x1c]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
lea eax, [ebp - 0x20]
mov edx, 0x503f64
call fcn.004041b4
mov edx, dword [ebp - 0x20]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, 0x503f78
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x30]
lea eax, [ebp - 0x24]
mov edx, 0x503f90
call fcn.004041b4
mov edx, dword [ebp - 0x24]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, 0x503fa8
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 2
jne 0x503db5
mov eax, dword [ebp - 4]
push dword [eax + 0x14]
push 0x503fc8
mov eax, dword [ebp - 4]
push dword [eax + 0x20]
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00404228
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x503dc6
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
mov dl, byte [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x503e36
mov eax, dword [ebp - 4]
call fcn.00503908
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
je 0x503e57
mov eax, dword [ebp - 4]
add eax, 0x2c
mov edx, 0x503fd4
call fcn.00403f3c
mov eax, dword [ebp - 4]
push dword [eax + 0x38]
push 0x503ed0
mov eax, dword [ebp - 4]
push dword [eax + 0x2c]
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00404228
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov dl, byte [edx + 0x34]
call fcn.004f8fb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x503ea5
lea eax, [ebp - 0x2c]
mov edx, 8
call fcn.00403f0c
ret