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

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [ecx]
cmp dword [eax + 0x78], 0
jne 0x4a5bf1
mov dword [esp + 4], ecx
jmp 0x4b337c
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x4a5bfe
mov dword [esp + 4], ecx
jmp eax
mov eax, 1
ret
mov eax, 0x28
call fcn.0053403c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x3c]
push 0x100105e0
push 0x10010580
xor esi, esi
lea eax, [edi + 0x44]
push 0x10010560
xor ebx, ebx
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], eax
call fcn.004a517c
add esp, 0x10
call fcn.004b261c
mov ebp, eax
cmp ebp, esi
jne 0x4b33da
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret
push edi
call fcn.004a4dcc
add esp, 4
cmp eax, esi
mov dword [esp + 0x20], eax
jne 0x4b33fc
push 0x311
push 0x100f84ec
push 0x71
jmp 0x4b371f
cmp dword [esp + 0x40], esi
jne 0x4b3417
call fcn.004a3f7c
cmp eax, esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], eax
je 0x4b3756
mov ebx, dword [esp + 0x40]
push ebx
call fcn.004a400c
push ebx
call fcn.004a409c
mov esi, eax
add esp, 8
test esi, esi
je 0x4b372e
push ebx
push esi
push edi
call fcn.004a4ddc
add esp, 0xc
test eax, eax
je 0x4b372e
cmp dword [esi + 4], 0
jne 0x4b345e
push 0x323
push 0x100f84ec
push 0x72
jmp 0x4b371f
push esi
call fcn.004a326c
add esp, 4
cmp eax, 0x7d0
mov edx, 4
mov dword [esp + 0x3c], edx
jae 0x4b34a7
cmp eax, 0x320
jae 0x4b349d
cmp eax, 0x12c
jae 0x4b34d9
cmp eax, 0x46
jae 0x4b34d9
cmp eax, 0x14
sbb ecx, ecx
add ecx, 2
cmp ecx, edx
jbe 0x4b34d9
cmp eax, 0x320
jb 0x4b34b1
mov dword [esp + 0x3c], 5
jmp 0x4b34d9
mov dword [esp + 0x3c], 6
jmp 0x4b34d9
cmp eax, 0x12c
jb 0x4b34be
mov dword [esp + 0x3c], edx
jmp 0x4b34d9
cmp eax, 0x46
jb 0x4b34cd
mov dword [esp + 0x3c], 3
jmp 0x4b34d9
cmp eax, 0x14
sbb ecx, ecx
add ecx, 2
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x3c]
add ecx, 0xffffffff
mov esi, 1
shl esi, cl
add eax, 7
shr eax, 3
push 0x33c
mov dword [esp + 0x2c], esi
imul esi, eax
mov dword [esp + 0x20], eax
lea eax, [esi*4 + 4]
push 0x100f84ec
push eax
mov dword [esp + 0x30], esi
call fcn.004ad55c
add esp, 0xc
test eax, eax
mov dword [esp + 0x10], eax
jne 0x4b3528
push 0x33f
jmp 0x4b3718
mov dword [eax + esi*4], 0
xor esi, esi
cmp dword [esp + 0x24], esi
mov ebx, eax
jbe 0x4b355d
lea ecx, [ecx]
push edi
call fcn.004a52bc
mov ecx, dword [esp + 0x14]
add esp, 4
test eax, eax
mov dword [ecx + esi*4], eax
je 0x4b370c
add esi, 1
cmp esi, dword [esp + 0x24]
jb 0x4b353c
push edi
call fcn.004a52bc
add esp, 4
test eax, eax
mov dword [esp + 0x18], eax
je 0x4b3713
push edi
call fcn.004a52bc
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
je 0x4b3713
mov edx, dword [esp + 0x20]
push edx
push eax
call fcn.004a53dc
add esp, 8
test eax, eax
je 0x4b372e
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
jbe 0x4b3695
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
push edi
call fcn.004a583c
add esp, 0x10
test eax, eax
je 0x4b372e
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx]
push ecx
push eax
call fcn.004a53dc
add esp, 8
add ebx, 4
test eax, eax
je 0x4b372e
mov esi, 1
cmp dword [esp + 0x28], esi
jbe 0x4b362a
lea ebx, [ebx]
mov edx, dword [esp + 0x40]
mov eax, dword [ebx - 4]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [ebx]
push eax
push ecx
push edx
push edi
call fcn.004a57bc
add esp, 0x14
test eax, eax
je 0x4b372e
add esi, 1
add ebx, 4
cmp esi, dword [esp + 0x28]
jb 0x4b35fc
mov eax, dword [esp + 0x1c]
add eax, 0xffffffff
cmp dword [esp + 0x20], eax
jae 0x4b3680
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
push edi
call fcn.004a583c
add esp, 0x10
test eax, eax
je 0x4b372e
mov esi, 2
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
push ecx
push eax
push eax
push edi
call fcn.004a583c
add esp, 0x10
test eax, eax
je 0x4b372e
add esi, 1
cmp esi, 8
jb 0x4b365c
mov eax, dword [esp + 0x20]
add eax, 1
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
jb 0x4b35b0
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
push edx
push eax
push esi
push edi
call fcn.004a5aac
add esp, 0x10
test eax, eax
je 0x4b372e
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x3c]
push 0x100105e0
push 0x10010580
push 0x10010560
mov dword [ebp + 8], ecx
mov ecx, dword [esp + 0x40]
push ebp
push ecx
mov dword [ebp], edi
mov dword [ebp + 4], 8
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov dword [esp + 0x24], 0
mov dword [ebp + 0x14], esi
call fcn.004a509c
add esp, 0x14
test eax, eax
je 0x4b372e
xor ebp, ebp
mov dword [esp + 0x30], 1
jmp 0x4b372e
push 0x349
jmp 0x4b3718
push 0x350
push 0x100f84ec
push 0x41
push 0xbc
push 0x10
call fcn.004ac7cc
add esp, 0x14
mov eax, dword [esp + 0x40]
xor esi, esi
cmp eax, esi
je 0x4b3741
push eax
call fcn.004a405c
add esp, 4
mov eax, dword [esp + 0x2c]
cmp eax, esi
je 0x4b3752
push eax
call fcn.004a3fdc
add esp, 4
mov ebx, dword [esp + 0x10]
cmp ebp, esi
je 0x4b3763
push ebp
call fcn.004b26ac
add esp, 4
cmp ebx, esi
je 0x4b378b
mov eax, dword [ebx]
test eax, eax
mov esi, ebx
je 0x4b3782
push eax
call fcn.004a536c
mov eax, dword [esi + 4]
add esi, 4
add esp, 4
test eax, eax
jne 0x4b376f
push ebx
call fcn.004ad74c
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4b379c
push eax
call fcn.004a536c
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4b37ad
push eax
call fcn.004a536c
add esp, 4
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret