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

Disassembly:
sub esp, 0x80
mov eax, dword [0xa0b130]
xor eax, esp
mov dword [esp + 0x7c], eax
mov al, byte [esp + 0x8c]
push ebx
mov bl, byte [esp + 0x94]
push esi
mov esi, dword [esp + 0x8c]
push edi
mov edi, dword [esp + 0x94]
mov byte [esp + 0xc], al
cmp dword [edi + 0x2c], 0
je 0x8a5af3
cmp dword [edi + 0x24], 0
jne 0x8a5af3
cmp dword [edi + 0x28], 0
jne 0x8a5af3
lea eax, [esp + 0x20]
push eax
call fcn.0040bca8
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0040a664
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x2c]
push dword [esp + 0x20]
push edi
push eax
call fcn.008a1c30
add esp, 0x20
mov dword [esp + 0x58], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0xf
mov ecx, dword [eax]
test ecx, ecx
je 0x8a58c9
push dword [eax + 4]
push ecx
lea ecx, [esp + 0x60]
call fcn.00408698
push ebp
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x78]
call fcn.0040c00e
mov ebp, SysReAllocString
test bl, bl
je 0x8a59ea
lea eax, [esp + 0x1c]
push eax
call fcn.00407914
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00402f68
push dword [eax + 4]
push dword [eax]
movzx eax, bl
push eax
lea eax, [esp + 0x3c]
push edi
push eax
call fcn.008a1de0
add esp, 0x20
mov ecx, dword [eax]
test ecx, ecx
jne 0x8a592c
xor edx, edx
mov dword [esp + 0x3c], ecx
mov ebx, 0xf
mov dword [esp + 0x2c], edx
mov dword [esp + 0x40], ebx
jmp 0x8a595d
push dword [eax + 4]
mov dword [esp + 0x30], 0
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0xf
call fcn.00408698
mov ebx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
mov eax, ebp
sub eax, ecx
cmp eax, 2
jb 0x8a5b21
push ecx
cmp ebx, 0x10
lea eax, [esp + 0x30]
lea ecx, [esp + 0x48]
cmovae eax, edx
push eax
push 2
push 0x92f85c
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x24]
call fcn.0041551e
cmp dword [esp + 0x58], 0x10
lea eax, [esp + 0x44]
push dword [esp + 0x54]
cmovae eax, dword [esp + 0x48]
lea ecx, [esp + 0x78]
push eax
call fcn.004070e5
lea ecx, [esp + 0x44]
call fcn.0040aeed
mov edx, dword [esp + 0x40]
cmp edx, 0x10
jb 0x8a59ea
mov ecx, dword [esp + 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x8a59e0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x8a5acb
push edx
push ecx
call fcn.004036ca
add esp, 8
mov bx, word [esp + 0xa4]
test bx, bx
je 0x8a5a8d
lea eax, [esp + 0x1c]
push eax
call fcn.004118d3
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00402f68
push dword [eax + 4]
push dword [eax]
movzx eax, bx
push eax
lea eax, [esp + 0x44]
push edi
push eax
call fcn.008a2dc0
mov ecx, dword [esp + 0x5c]
add esp, 0x20
sub ebp, ecx
cmp ebp, 2
jb 0x8a5b21
cmp dword [esp + 0x40], 0x10
lea eax, [esp + 0x2c]
push ecx
cmovae eax, dword [esp + 0x30]
lea ecx, [esp + 0x48]
push eax
push 2
push 0x92f85c
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x24]
call fcn.0041551e
cmp dword [esp + 0x58], 0x10
lea eax, [esp + 0x44]
push dword [esp + 0x54]
cmovae eax, dword [esp + 0x48]
lea ecx, [esp + 0x78]
push eax
call fcn.004070e5
lea ecx, [esp + 0x44]
call fcn.0040aeed
lea ecx, [esp + 0x2c]
call fcn.0040aeed
movups xmm0, xmmword [esp + 0x74]
mov edx, dword [esp + 0x70]
movups xmmword [esi], xmm0
movq xmm0, qword [esp + 0x84]
movq qword [esi + 0x10], xmm0
cmp edx, 0x10
jb 0x8a5adb
mov ecx, dword [esp + 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x8a5ad1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x8a5ad1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004036ca
add esp, 8
pop ebp
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.004087b5
add esp, 0x80
ret
mov ecx, dword [esp + 0x88]
mov eax, esi
pop edi
mov dword [esi], 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
pop esi
pop ebx
xor ecx, esp
call fcn.004087b5
add esp, 0x80
ret
call fcn.0040a7a9
int3