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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x118
mov eax, dword [0x10165004]
xor eax, esp
mov dword [esp + 0x114], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push esi
mov esi, ecx
mov dword [esp + 4], eax
push edi
mov dword [esp + 0xc], edx
movlpd qword [esp + 0x78], xmm0
mov eax, dword [esi + 0x88]
mov ecx, dword [esi]
mov edi, dword [esi + 8]
movlpd qword [esp + 0x80], xmm0
movlpd qword [esp + 0x88], xmm0
mov dword [esp + 0x90], 0
movlpd qword [esp + 0x9c], xmm0
movlpd qword [esp + 0xa4], xmm0
movlpd qword [esp + 0xac], xmm0
movlpd qword [esp + 0xb4], xmm0
movlpd qword [esp + 0xbc], xmm0
movlpd qword [esp + 0xcc], xmm0
movlpd qword [esp + 0xd4], xmm0
mov dword [esp + 0xdc], 0
movlpd qword [esp + 0xe4], xmm0
movlpd qword [esp + 0xec], xmm0
movlpd qword [esp + 0xf4], xmm0
movlpd qword [esp + 0x100], xmm0
movlpd qword [esp + 0x108], xmm0
movlpd qword [esp + 0x110], xmm0
mov edx, dword [eax + 4]
push 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
call fcn.1005db50
mov dword [esp + 0x98], eax
lea edx, [esp + 0x7c]
add esp, 4
mov dword [esp + 0xc8], 1
lea eax, [esp + 0xc8]
mov dword [esp + 0xfc], 0xffffffff
mov dword [esp + 0x98], eax
mov ecx, esi
mov eax, dword [esp + 8]
push 0
mov dword [esp + 0xe4], eax
call fcn.1009ec10
add esp, 4
cmp dword [esi + 0x24], 0
jne 0x100a5966
lea edx, [esp + 0x78]
mov ecx, esi
call fcn.10097700
mov edx, dword [esp + 0x94]
test edx, edx
je 0x100a597a
mov ecx, dword [esp + 0x14]
call fcn.1005e7f0
mov ecx, dword [esp + 0x18]
push dword [esp + 8]
mov edx, dword [ecx + 4]
mov ecx, esi
call fcn.100a5520
add esp, 4
mov ecx, eax
cmp dword [esi + 0x24], 0
mov dword [esp + 0x10], ecx
jne 0x100a5c76
mov edx, dword [esp + 0x18]
xorps xmm0, xmm0
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x60], xmm0
cmp dword [edx + 0x60], 0
jne 0x100a59c4
mov eax, dword [ecx]
mov dword [edx + 0x60], eax
mov eax, dword [esi + 0x28]
mov dword [edx + 0x5c], eax
inc dword [esi + 0x28]
mov eax, dword [ebp + 0xc]
mov edx, ecx
mov dword [esp + 0x58], eax
lea ecx, [esp + 0x50]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], esi
mov dword [esp + 0x68], 0x400
mov al, byte [eax + 8]
mov byte [esi + 0x9c], al
mov eax, dword [esp + 8]
mov dword [esi + 0x7c], eax
call fcn.1005b6d0
test eax, eax
mov eax, dword [esp + 0x14]
jne 0x100a5cda
cmp byte [eax + 0x57], 0
jne 0x100a5cda
mov eax, dword [esi + 0x2c]
mov edx, dword [esp + 0x10]
lea ecx, [eax + 1]
add eax, 2
mov edx, dword [edx]
add eax, edx
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], edx
mov dword [esp + 0x24], ecx
mov dword [eax + 0x64], ecx
xor eax, eax
mov dword [esp + 0x28], eax
test edx, edx
jle 0x100a5b84
mov eax, dword [esp + 0x10]
add eax, 8
mov dword [esp + 0x28], edx
mov dword [esp + 8], ecx
mov edx, 2
mov dword [esp + 0x1c], eax
cmp byte [esi + 0x17], 0
mov eax, dword [eax]
mov dword [esp + 0x20], eax
je 0x100a5aac
mov word [esp + 0x48], dx
mov dword [esp + 0x38], fcn.1005e9a0
mov dword [esp + 0x3c], 0x1005e850
mov dword [esp + 0x4c], 0
test eax, eax
je 0x100a5a9d
mov edx, eax
lea ecx, [esp + 0x34]
call fcn.100583a0
cmp word [esp + 0x48], 0
mov eax, dword [esp + 0x20]
je 0x100a5aac
mov ecx, dword [esp + 8]
push ecx
mov edx, eax
mov ecx, esi
call fcn.100648b0
add esp, 4
jmp 0x100a5af7
mov ecx, dword [esi]
mov dword [esp + 0x2c], ecx
test eax, eax
je 0x100a5aca
push 0
push 0
mov edx, eax
call fcn.1005d6e0
mov ecx, dword [esp + 0x34]
add esp, 8
jmp 0x100a5acc
xor eax, eax
cmp byte [ecx + 0x57], 0
mov dword [esp + 0x30], eax
jne 0x100a5aea
push dword [esp + 8]
mov edx, eax
mov ecx, esi
call fcn.10064bb0
mov ecx, dword [esp + 0x30]
add esp, 4
mov edx, dword [esp + 0x30]
test edx, edx
je 0x100a5af7
call fcn.1005d470
mov ecx, dword [esp + 0x20]
call fcn.1005b820
cmp al, 0x45
jne 0x100a5b58
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x100a5b25
push 0
push 0
push dword [esp + 0x10]
mov edx, 0x57
mov ecx, edi
call fcn.10044040
add esp, 0xc
jmp 0x100a5b58
mov edx, dword [esp + 8]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x57
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x1c]
mov edx, 2
mov ecx, dword [esp + 8]
add eax, 0x14
inc ecx
mov dword [esp + 0x1c], eax
sub dword [esp + 0xc], 1
mov dword [esp + 8], ecx
jne 0x100a5a55
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
lea edx, [eax + ecx]
mov ecx, dword [edi + 0x6c]
mov dword [esp + 8], edx
cmp dword [edi + 0x70], ecx
jg 0x100a5bae
push edx
push eax
push dword [esp + 0x2c]
mov edx, 0x61
mov ecx, edi
call fcn.10044040
mov edx, dword [esp + 0x14]
add esp, 0xc
jmp 0x100a5be1
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 8]
mov dword [eax + ecx*4], 0x61
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x18]
lea eax, [edx + 1]
mov dword [esp + 0x1c], eax
mov ecx, dword [ecx + 0x5c]
mov dword [esp + 0xc], ecx
mov ecx, dword [edi + 0x6c]
mov edx, dword [esp + 0xc]
cmp dword [edi + 0x70], ecx
jg 0x100a5c14
push 0
push eax
push edx
mov edx, 0x7f
mov ecx, edi
call fcn.10044040
add esp, 0xc
jmp 0x100a5c43
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 0x6c]
mov edx, dword [esp + 8]
mov eax, dword [eax + 0x5c]
mov dword [esp + 0xc], eax
cmp dword [edi + 0x70], ecx
jg 0x100a5ca9
lea eax, [edx + 1]
mov ecx, edi
push eax
push edx
push dword [esp + 0x14]
mov edx, 0x80
call fcn.10044040
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
test ecx, ecx
je 0x100a5c87
mov edx, ecx
mov ecx, eax
call fcn.1005e7f0
mov ecx, dword [esp + 0x11c]
pop edi
mov dword [esi + 0x7c], 0
mov byte [esi + 0x9c], 0
pop esi
xor ecx, esp
call fcn.10129271
mov esp, ebp
pop ebp
ret
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0xc]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x80
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x100a5c72
mov ecx, dword [esp + 0x10]
jmp 0x100a5c7a