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

Disassembly:
sub esp, 0x38
push ebx
push ebp
push esi
mov esi, dword [esp + 0x48]
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x48]
shl eax, 5
push eax
push ecx
call fcn.004ba18f
mov edx, dword [esi + 0x34]
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x4c]
shl edx, 4
push edx
push eax
call fcn.004ba18f
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x4c], eax
shl ecx, 3
push ecx
call fcn.004b9f8c
mov edx, dword [esi + 0x34]
mov dword [esi + 0x3c], eax
shl edx, 4
push edx
call fcn.004b9f8c
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x34]
xor ebp, ebp
add esp, 0x18
xor ebx, ebx
cmp eax, ebp
jle 0x4a18e6
push edi
jmp 0x4a1675
xor ebp, ebp
cmp ebx, ebp
jne 0x4a1696
mov edx, dword [esi + 0x3c]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov dword [edx], ecx
push eax
push ecx
push esi
mov dword [edx + 4], eax
call fcn.004a13b0
add esp, 0xc
jmp 0x4a16f5
mov eax, dword [esi + 0x38]
lea edi, [ebx*8]
mov ecx, dword [eax + edi + 4]
push ecx
mov edx, dword [eax + edi]
push edx
push esi
call fcn.004a13b0
mov edx, dword [esi + 0x4c]
mov eax, ebx
shl eax, 4
push ebp
add eax, edx
push ebp
mov ecx, ebx
push eax
mov eax, dword [esi + 0x48]
shl ecx, 5
add ecx, eax
push ecx
push esi
call fcn.004a0ec0
add esp, 0x20
test eax, eax
mov eax, dword [esi + 0x3c]
jge 0x4a16e8
add edi, eax
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
jmp 0x4a16f5
mov edx, dword [esi + 8]
add edi, eax
mov dword [edi], edx
mov eax, dword [esi + 0xc]
mov dword [edi + 4], eax
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx + ebx*8]
lea eax, [ecx + ebx*8]
mov ecx, dword [ecx + ebx*8 + 4]
and edx, ecx
cmp edx, 0xffffffff
je 0x4a183f
mov eax, dword [esi + 0x40]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
lea ebp, [esi + 0x78]
mov ecx, dword [eax + ebx*4]
or edi, 0xffffffff
push ecx
push ebp
call fcn.0048fc80
add esp, 8
push 0xffffffffffffffff
lea edx, [esp + 0x1c]
push 0xffffffffffffffff
push edx
push esi
call fcn.004a1010
add esp, 0x10
test edx, edx
jl 0x4a180e
jg 0x4a174f
test eax, eax
jb 0x4a180e
lea eax, [esp + 0x18]
push eax
call fcn.0048f0a0
mov ecx, dword [esi + 0x40]
add esp, 4
cmp eax, dword [ecx + ebx*4]
jne 0x4a180e
lea edx, [esp + 0x18]
push edx
push ebp
call fcn.0048f920
lea eax, [esp + 0x30]
push eax
push ebp
call fcn.0048fca0
add esp, 0x10
test eax, eax
je 0x4a17d5
jle 0x4a17c3
lea ecx, [esp + 0x28]
mov edx, ebx
push ecx
mov ecx, dword [esi + 0x48]
shl edx, 5
add edx, ecx
push edx
call fcn.00493500
add esp, 8
cmp edi, 0xffffffff
mov ecx, eax
je 0x4a17c1
lea eax, [ecx + edi]
mov edi, dword [esp + 0x10]
sar eax, 2
cdq
add edi, eax
mov eax, dword [esp + 0x14]
adc eax, edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov edi, ecx
lea eax, [esp + 0x28]
push eax
push ebp
call fcn.0048fca0
add esp, 8
test eax, eax
jne 0x4a1785
lea ecx, [esp + 0x18]
push ecx
call fcn.0048efc0
and eax, edx
add esp, 4
cmp eax, 0xffffffff
je 0x4a172b
lea edx, [esp + 0x18]
push edx
call fcn.0048efc0
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add esp, 4
sub eax, edi
sbb edx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, eax
jg 0x4a1828
jl 0x4a1820
cmp dword [esp + 0x10], eax
jae 0x4a1828
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 0x44]
mov eax, ebx
mov edx, dword [esp + 0x14]
shl eax, 4
add eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + ebx*8 + 0xc]
push ecx
mov edx, dword [eax + ebx*8 + 8]
push edx
push esi
call fcn.004a13b0
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push esi
call fcn.004a1290
mov edi, edx
add esp, 8
test edi, edi
mov ebp, eax
jl 0x4a188d
jg 0x4a1871
test ebp, ebp
jb 0x4a188d
lea ecx, [esp + 0x18]
push ecx
call fcn.0048efc0
and eax, edx
add esp, 4
cmp eax, 0xffffffff
jne 0x4a18b2
mov dword [esi + 8], ebp
mov dword [esi + 0xc], edi
jmp 0x4a1855
mov ecx, dword [esi + 0x48]
mov edx, ebx
shl edx, 5
add edx, ecx
push edx
call fcn.00490020
mov edx, dword [esi + 0x4c]
mov eax, ebx
shl eax, 4
add eax, edx
push eax
call fcn.0048ff80
add esp, 8
jmp 0x4a18d9
mov edx, dword [esi + 0x44]
mov ecx, ebx
shl ecx, 4
lea eax, [esp + 0x18]
push eax
lea edi, [ecx + edx]
call fcn.0048efc0
mov ebp, dword [edi]
mov ecx, dword [edi + 4]
add esp, 4
sub eax, ebp
sbb edx, ecx
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0x34]
inc ebx
cmp ebx, eax
jl 0x4a1673
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret