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

Disassembly:
mov eax, 0x672771
call fcn.006313fc
sub esp, 0xb4
push ebx
push esi
lea eax, [esp + 0x20]
mov ebx, ecx
push eax
mov dword [esp + 0x10], ebx
call fcn.004c536a
mov esi, eax
test esi, esi
jne 0x4c5076
call fcn.00490089
push eax
push 0xb
lea ecx, [esp + 0x3c]
call fcn.0048f892
lea eax, [esp + 0x34]
xor ebx, ebx
push eax
lea eax, [esp + 0x90]
mov dword [esp + 0xc8], ebx
push eax
call fcn.004916a8
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [esp + 0xc4], 1
jb 0x4c5040
mov edx, dword [edx]
mov ecx, dword [esp + 0xd8]
push edx
push ebx
push ebx
mov eax, dword [ecx]
call dword [eax + 0x14]
xor esi, esi
lea ecx, [esp + 0x8c]
push ebx
inc esi
push esi
call fcn.0042341c
or dword [esp + 0xc4], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.0048f8e2
jmp 0x4c5356
mov eax, dword [esp + 0x24]
mov ecx, ebx
add eax, dword [esp + 0x20]
push ebp
add esi, eax
lea eax, [esp + 0x24]
push edi
push eax
call fcn.004c536a
mov dword [esp + 0x10], eax
mov ecx, ebx
lea eax, [esp + 0x28]
push eax
call fcn.004c536a
mov ebp, dword [esp + 0xdc]
cmp eax, ebp
jae 0x4c50e5
xor edi, edi
test ebp, ebp
jle 0x4c5354
mov eax, dword [esp + 0x10]
mov esi, ebp
sub esi, edi
cmp esi, eax
jl 0x4c50c1
mov esi, eax
push dword [esp + 0xe0]
mov eax, dword [esp + 0xdc]
mov ecx, ebx
push esi
add eax, edi
push eax
call fcn.004c4fda
add edi, esi
cmp edi, ebp
jl 0x4c50b3
jmp 0x4c5354
mov eax, dword [0x766000]
xor ebx, ebx
mov dword [esp + 0x58], eax
push 4
pop eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x50], eax
lea eax, [esp + 0x5c]
mov byte [esp + 0x8c], bl
mov dword [esp + 0x54], eax
mov dword [esp + 0x4c], ebx
push esi
mov dword [esp + 0xd0], 2
call fcn.0045d923
mov edi, eax
test edi, edi
jne 0x4c518e
call fcn.00490089
push eax
push 1
lea ecx, [esp + 0x44]
call fcn.0048f892
lea eax, [esp + 0x3c]
mov byte [esp + 0xcc], 3
push eax
lea eax, [esp + 0x98]
push eax
call fcn.004916a8
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [esp + 0xcc], 4
jb 0x4c5165
mov edx, dword [edx]
mov ecx, dword [esp + 0xe0]
push edx
push ebx
push ebx
mov eax, dword [ecx]
call dword [eax + 0x14]
xor esi, esi
lea ecx, [esp + 0x94]
push ebx
inc esi
push esi
call fcn.0042341c
lea ecx, [esp + 0x3c]
jmp 0x4c532f
mov eax, dword [esp + 0x28]
push ebp
push dword [esp + 0xdc]
add eax, edi
push eax
call fcn.00631810
mov eax, dword [esp + 0x34]
add esp, 0xc
mov dword [esp + 0x5c], eax
xor esi, esi
add eax, edi
mov dword [esp + 0x68], ebp
mov dword [esp + 0x70], eax
inc esi
push ebx
mov dword [esp + 0x64], 7
lea ecx, [eax + ebp]
mov dword [esp + 0x68], edi
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x50]
push eax
mov eax, dword [0x766000]
push ebx
push dword [ebp + 0x10]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x88], 6
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x98], ebx
call dword [eax + 0x64]
mov dword [esp + 0x10], eax
test eax, eax
jns 0x4c5292
cmp eax, 0x80090317
je 0x4c5292
push esi
push edi
call fcn.0045d916
call fcn.00490089
push eax
push 0xc
lea ecx, [esp + 0x20]
call fcn.0048f892
push dword [esp + 0x10]
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd0], 5
push str.error
call fcn.004626fb
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x98]
push eax
call fcn.004916a8
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [esp + 0xcc], 6
jb 0x4c5277
mov edx, dword [edx]
mov ecx, dword [esp + 0xe0]
push edx
push ebx
push ebx
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [esp + 0x94]
jmp 0x4c5324
mov eax, dword [esp + 0x74]
mov ecx, ebp
add eax, dword [esp + 0x68]
push dword [esp + 0xe0]
add eax, dword [esp + 0x60]
push eax
push edi
call fcn.004c4f2d
push esi
push edi
test al, al
jne 0x4c533e
call fcn.0045d916
call fcn.00490089
push eax
push 0xd
lea ecx, [esp + 0x20]
call fcn.0048f892
push dword [esp + 0x10]
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd0], 7
push str.error
call fcn.004626fb
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0xb0]
push eax
call fcn.004916a8
mov ecx, eax
cmp dword [ecx + 0x14], 8
mov byte [esp + 0xcc], 8
jb 0x4c530c
mov ecx, dword [ecx]
mov edx, dword [esp + 0xe0]
push ecx
push ebx
push ebx
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x14]
lea ecx, [esp + 0xac]
push ebx
push esi
call fcn.0042341c
lea ecx, [esp + 0x18]
mov byte [esp + 0xcc], 2
call fcn.0048f8e2
jmp 0x4c5343
call fcn.0045d916
or dword [esp + 0xcc], 0xffffffff
lea ecx, [esp + 0x4c]
call fcn.004c41f4
pop edi
pop ebp
mov ecx, dword [esp + 0xbc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc