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

Disassembly:
mov eax, 0x1050
call fcn.00a86538
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x34]
xor edi, edi
push eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], edi
call fcn.00a86126
push 0x12
push edi
lea ecx, [esp + 0x3c]
push edi
push ecx
call dword [0xf190]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x20], esi
je 0xa8477f
mov dword [esp + 0x44], 0x1c
mov dword [esp + 0x18], edi
mov ebx, 0x1d300
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x38]
push eax
push ecx
push 0
push esi
call dword [0xf194]
test eax, eax
je 0xa8476c
mov ebp, dword [0xf198]
lea edx, [esp + 0x1c]
push 0
push edx
push 0
lea eax, [esp + 0x50]
push 0
push eax
push esi
call ebp
mov edx, dword [esp + 0x1c]
cmp edx, 0x1000
ja 0xa8477f
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x60]
push eax
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x34]
lea eax, [esp + 0x48]
push ecx
push edx
lea edx, [esp + 0x6c]
mov dword [esp + 0x6c], 5
push edx
push eax
push esi
call ebp
test eax, eax
jne 0xa84688
mov dword [esp + 0x10], 0xf0000005
jmp 0xa84752
push 0
push 0
push 3
push 0
push 3
lea ecx, [esp + 0x78]
push 0xc0000000
push ecx
call dword [0xf0b4]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0xa846d5
call dword [0xf05c]
cmp eax, 0x20
jne 0xa846c1
mov dword [esp + 0x10], 0xf000001a
jmp 0xa84752
sub eax, 5
neg eax
sbb eax, eax
and al, 0xfb
add eax, 0xf000000a
mov dword [esp + 0x10], eax
jmp 0xa84752
lea edx, [esp + 0x24]
mov dword [esp + 0x24], 0xc
push edx
push ebp
call fcn.00a86120
test al, al
je 0xa8474b
cmp word [esp + 0x28], 0x96e
jne 0xa8474b
cmp word [esp + 0x2a], 0x304
jne 0xa8474b
push ebp
call fcn.00a85b80
add esp, 4
test eax, eax
jne 0xa8474b
lea edi, [esp + 0x64]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebx + 0xc]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
mov byte [ebx], 0
mov dword [ebx + 4], eax
inc ecx
mov dword [ebx + 8], eax
mov dword [esp + 0x14], ecx
add ebx, 0x138
push ebp
call dword [0xf07c]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
inc eax
cmp eax, 0x80
mov dword [esp + 0x18], eax
jl 0xa84605
jmp 0xa84787
mov eax, dword [0x26f00]
test eax, eax
jbe 0xa84787
mov dword [esp + 0x10], 0
jmp 0xa84787
mov dword [esp + 0x10], 0xf0000005
push esi
call dword [0xf19c]
test edi, edi
mov dword [0x26f00], edi
jne 0xa847b2
mov ecx, dword [esp + 0x1068]
mov eax, dword [esp + 0x10]
mov dword [ecx], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1050
ret 8
mov ebx, dword [esp + 0x1068]
cmp dword [ebx], edi
jb 0xa84815
mov esi, dword [esp + 0x1064]
test esi, esi
je 0xa84815
lea ecx, [edi*8]
xor eax, eax
sub ecx, edi
mov edi, esi
shl ecx, 3
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edx, dword [0x26f00]
xor eax, eax
test edx, edx
jbe 0xa84804
mov ecx, esi
mov dword [ecx], eax
mov edx, dword [0x26f00]
inc eax
add ecx, 0x38
cmp eax, edx
jb 0xa847f4
pop edi
pop esi
mov dword [ebx], edx
pop ebp
xor eax, eax
pop ebx
add esp, 0x1050
ret 8
mov dword [ebx], edi
pop edi
pop esi
pop ebp
mov eax, 0xf0000004
pop ebx
add esp, 0x1050
ret 8