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

Disassembly:
sub esp, 0xf4
mov eax, dword [0x1180458]
push ebx
push ebp
push esi
mov ebp, dword [eax + 0xd0]
push edi
lea eax, [ebp + 8]
sar eax, 3
mov dword [esp + 0x1c], eax
imul eax, ebp
push eax
call fcn.004b1400
lea ecx, [ebp + ebp]
mov dword [esp + 0x28], eax
push ecx
call fcn.004b1400
push ebp
mov dword [esp + 0x40], eax
call fcn.004b1400
lea esi, [ebp*4]
mov dword [esp + 0x34], eax
push esi
call fcn.004b1400
mov edx, dword [0x1180458]
push ebp
mov dword [edx + 0x21e0], eax
call fcn.004b1400
mov ecx, dword [0x1180458]
lea edx, [ebp + ebp*2]
shl edx, 2
push edx
mov dword [ecx + 0x21d8], eax
call fcn.004b1400
mov ecx, dword [0x1180458]
add esp, 0x18
mov dword [esp + 0x20], esi
mov dword [ecx + 0x21e4], eax
mov eax, 1
cmp ebp, eax
mov dword [esp + 0x10], eax
jle 0x4a3213
mov dword [esp + 0x14], 0xc
mov ebx, 0x30
push eax
call fcn.004a69b0
add esp, 4
test eax, eax
je 0x4a31f4
mov eax, dword [0x1180458]
mov edx, dword [eax + 0xd4]
fld dword [ebx + edx + 0x24]
fstp dword [esp + 0x38]
mov ecx, dword [eax + 0xd4]
fld dword [ebx + ecx + 0x28]
lea ecx, [esp + 0x44]
fstp dword [esp + 0x3c]
mov edx, dword [eax + 0xd4]
lea eax, [esp + 0x50]
push eax
push ecx
fld dword [ebx + edx + 0x2c]
fsub dword [0x4d74e8]
push 2
fstp dword [esp + 0x4c]
call fcn.004afa30
push 0x30001
lea edx, [esp + 0x48]
push 0xffffffffffffffff
push edx
mov edx, dword [0x1180458]
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x60]
mov eax, dword [edx + 0xd4]
push ecx
lea edx, [esp + 0xd0]
lea ecx, [eax + ebx + 0x24]
push ecx
push edx
call fcn.004af190
mov ecx, 0x15
mov esi, eax
lea edi, [esp + 0x84]
add esp, 0x28
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x4a31f4
fld dword [esp + 0x64]
fcomp dword [0x4d7390]
fnstsw ax
test ah, 1
je 0x4a31f4
lea eax, [esp + 0x68]
push eax
call fcn.004afd90
mov ecx, dword [esp + 0x14]
add esp, 4
cmp eax, ecx
jne 0x4a31f4
mov ecx, dword [0x1180458]
mov eax, dword [esp + 0x14]
fld dword [esp + 0x68]
mov edx, dword [ecx + 0x21e4]
fstp dword [edx + eax]
mov ecx, dword [0x1180458]
fld dword [esp + 0x6c]
mov edx, dword [ecx + 0x21e4]
fstp dword [edx + eax + 4]
mov ecx, dword [0x1180458]
fld dword [esp + 0x70]
mov edx, dword [ecx + 0x21e4]
mov ecx, dword [esp + 0x28]
fstp dword [edx + eax + 8]
mov eax, dword [esp + 0x10]
mov byte [eax + ecx], 1
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
inc eax
add ebx, 0x30
add edx, 0xc
cmp eax, ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jl 0x4a30dd
mov edi, 1
cmp ebp, edi
mov dword [esp + 0x10], edi
jle 0x4a341f
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x28]
cmp byte [edi + eax], 0
je 0x4a33f9
mov eax, dword [esp + 0x1c]
mov ebx, 1
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x30], eax
mov ecx, dword [0x1180458]
cmp edi, ebx
mov edx, dword [ecx + 0x21d8]
mov byte [edx + ebx], 0
jne 0x4a32a4
mov eax, dword [0x1180458]
mov ecx, dword [eax + 0x21d8]
mov eax, dword [esp + 0x24]
test eax, eax
mov byte [ecx + ebx], 1
je 0x4a3379
mov ecx, dword [esp + 0x2c]
mov edx, ebx
sar edx, 3
add edx, ecx
mov ecx, ebx
and ecx, 7
lea esi, [edx + eax]
mov al, 1
shl al, cl
or byte [esi], al
jmp 0x4a3379
mov ecx, dword [esp + 0x28]
cmp byte [ebx + ecx], 0
je 0x4a3379
mov esi, dword [esp + 0x24]
test esi, esi
je 0x4a32f1
cmp edi, ebx
jle 0x4a32f1
mov ecx, edi
mov edx, 1
and ecx, 7
shl edx, cl
mov ecx, edi
sar ecx, 3
add ecx, eax
mov al, byte [ecx + esi]
test al, dl
je 0x4a3379
mov ecx, dword [0x1180458]
mov edx, dword [ecx + 0x21d8]
mov byte [edx + ebx], 1
jmp 0x4a3379
mov eax, dword [0x1180458]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [eax + 0x21e4]
add ecx, eax
add edx, eax
push ecx
push edx
call fcn.004af260
add esp, 8
test eax, eax
je 0x4a3379
mov eax, dword [0x1180458]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 1
mov eax, dword [eax + 0x21e4]
push 0xffffffffffffffff
add ecx, eax
add edx, eax
push ecx
push 0
push 0
lea eax, [esp + 0xc4]
push edx
push eax
call fcn.004af190
mov ecx, 0x15
mov esi, eax
lea edi, [esp + 0x78]
add esp, 0x1c
rep movsd dword es:[edi], dword [esi]
fld dword [esp + 0x64]
fcomp dword [0x4d7390]
fnstsw ax
test ah, 1
jne 0x4a3375
mov ecx, dword [0x1180458]
mov edx, dword [ecx + 0x21d8]
mov byte [edx + ebx], 1
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
inc ebx
add eax, esi
add edx, 0xc
cmp ebx, ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], edx
jl 0x4a3257
mov eax, dword [0x1180458]
mov esi, dword [esp + 0x34]
push esi
push ebp
mov ecx, dword [eax + 0x21d8]
push ecx
call fcn.004a2ef0
mov ebx, eax
push ebx
call fcn.004b13e0
mov edx, dword [0x1180458]
add esp, 0x10
mov ecx, dword [edx + 0x21e0]
mov dword [ecx + edi*4], eax
mov edx, dword [0x1180458]
mov ecx, ebx
mov eax, dword [edx + 0x21e0]
mov edx, ecx
shr ecx, 2
mov edi, dword [eax + edi*4]
mov eax, dword [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
add eax, ebx
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
inc edi
add edx, eax
add ecx, 0xc
cmp edi, ebp
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x14], ecx
jl 0x4a3234
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
je 0x4a3434
push eax
call fcn.004b1480
add esp, 4
mov ecx, dword [esp + 0x10]
push ecx
push str.AAS_CreateVisibility:_compressed_vis_size___i_n
push 1
call dword [0x1180ce0]
add esp, 0x100
ret