Function at 0x4c8b30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c3a8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x562514]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x20], 0xffffffff
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 0x28]
call fcn.004c9330
mov eax, dword [ebp - 0x28]
mov byte [eax + 0x34], 1
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x30], 0
mov edx, dword [ebp - 0x28]
mov byte [edx + 0x1d], 1
mov eax, dword [ebp - 0x28]
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x4c8ba2
jmp 0x4c8de6
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx + 0x38]
call fcn.00410850
mov dword [ebp - 0x2c], 0
jmp 0x4c8bcf
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jge 0x4c8c84
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx + 0x38]
call fcn.004c83e0
movzx eax, al
test eax, eax
je 0x4c8c7f
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x38]
imul eax, dword [ebp - 0x2c], 0x168
lea ecx, [edx + eax + 0x78]
call fcn.004c7fd0
movzx ecx, al
test ecx, ecx
je 0x4c8c7f
push 3
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 0x38]
call fcn.00410970
push eax
call dword [0x531468]
mov esi, eax
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x38]
imul ecx, dword [ebp - 0x2c], 0x168
lea ecx, [eax + ecx + 0x78]
call fcn.00410970
cmp esi, eax
jne 0x4c8c7f
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x38]
imul ecx, dword [ebp - 0x2c], 0x168
lea edx, [eax + ecx + 0x74]
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x30], edx
mov ecx, dword [ebp - 0x28]
mov byte [ecx + 0x34], 0
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
cmp eax, dword [edx + 0x3c]
jne 0x4c8c7d
mov ecx, dword [ebp - 0x28]
mov byte [ecx + 0x1d], 0
jmp 0x4c8de6
jmp 0x4c8c84
jmp 0x4c8bc6
mov edx, dword [ebp - 0x28]
movzx eax, byte [edx + 0x34]
test eax, eax
je 0x4c8cb7
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + 0x40], 0
jl 0x4c8cb2
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x38]
mov ecx, dword [ebp - 0x28]
imul edx, dword [ecx + 0x40], 0x168
lea eax, [eax + edx + 0x74]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x30], eax
jmp 0x4c8de6
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx + 0x30]
call fcn.004c81a0
movzx eax, al
test eax, eax
jne 0x4c8cce
jmp 0x4c8de6
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [0x5314bc]
mov esi, eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x30]
add ecx, 0x70
call fcn.00410970
cmp esi, eax
je 0x4c8cf5
jmp 0x4c8de6
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx + 0x30]
add ecx, 0x70
call fcn.00410850
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x20], ecx
lea edx, [ebp - 0x24]
push edx
push 0
push 0x1012
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x30]
add ecx, 0x70
call fcn.00410970
push eax
call dword [0x5315e0]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x4c8d41
jmp 0x4c8de6
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx + 0x30]
call fcn.0049f7e0
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x4c8d5e
jmp 0x4c8de6
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 0x30]
call fcn.004d4a70
movzx edx, al
test edx, edx
jne 0x4c8d76
jmp 0x4c8de6
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x3c]
mov dword [eax + 0x20], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x20]
push eax
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx + 0x30]
call fcn.004d34a0
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x28]
add ecx, 0x24
call fcn.00408530
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00405870
push 1
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x30]
add ecx, 0x70
call fcn.00410970
push eax
call fcn.004c8440
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x30]
mov dword [ecx + 0x18], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f00c4
mov esp, ebp
pop ebp
ret 8