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

Disassembly:
sub esp, 0x2a4
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2b8]
xor ebp, ebp
push 0x38
push ebp
mov dword [esp + 0x1c], ebp
mov eax, dword [edi + 4]
mov esi, dword [edi + 8]
mov dword [esp + 0x48], eax
mov dword [esp + 0x28], esi
mov ebx, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x2c], ebx
lea eax, [eax + eax*2]
shl eax, 4
add eax, ebx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x74]
push eax
call fcn.0042d620
movzx eax, byte [esi + 0x10]
add esp, 0xc
lea ecx, [eax + eax*8]
mov eax, dword [edi]
mov eax, dword [eax + 4]
test byte [eax + ecx*8 + 0x2c], 0x10
lea eax, [eax + ecx*8]
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], ecx
je 0x5a7d19
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2a4
ret
cmp ebx, dword [esp + 0x1c]
jae 0x5a8196
mov di, word [esp + 0x6c]
mov ecx, 0x200
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], edi
test ebp, ebp
jne 0x5a8196
test word [ebx + 0xc], cx
je 0x5a8187
mov edx, dword [ebx + 0x18]
mov ecx, dword [edx + 0x1a0]
mov eax, dword [edx + 0x1a4]
and ecx, dword [esi + 8]
and eax, dword [esi + 0xc]
or ecx, eax
je 0x5a817e
mov eax, dword [edx + 0xc]
mov dword [esp + 0x2c], 1
lea ebx, [eax + eax*2]
mov eax, dword [esp + 0x2b8]
shl ebx, 4
add ebx, dword [edx + 0x18]
mov dword [esp + 0x18], ebx
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x54], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [esp + 0xa4]
movq qword [esp + 0x64], xmm0
mov dword [esp + 0x60], eax
mov ebx, dword [edx + 0x18]
mov dword [esp + 0x38], ebx
cmp ebx, dword [esp + 0x18]
jae 0x5a80f5
mov esi, dword [esp + 0x18]
nop word [eax + eax]
mov eax, 0x400
test word [ebx + 0xc], ax
je 0x5a7dd0
mov eax, dword [ebx + 0x18]
jmp 0x5a7e1d
mov eax, dword [esp + 0x3c]
cmp dword [ebx + 0x14], eax
jne 0x5a80d5
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
mov dword [esp + 0x114], eax
lea eax, [esp + 0x114]
mov dword [esp + 0x118], ecx
mov byte [esp + 0x11c], 0x2c
mov dword [esp + 0x120], 1
mov dword [esp + 0x128], 1
mov dword [esp + 0x12c], ebx
mov esi, dword [esp + 0x2c0]
mov dword [esp + 0x58], eax
xor eax, eax
mov word [esp + 0xa4], ax
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x18]
cmp byte [eax + 0x2b], 1
lea eax, [esp + 0x54]
jne 0x5a7e6a
push dword [esp + 0x2c8]
push dword [esp + 0x2c8]
push esi
push dword [esp + 0x2c8]
push eax
call fcn.005a81b0
mov ebp, eax
add esp, 0x14
mov dword [esp + 0x14], ebp
jmp 0x5a7e81
push esi
push dword [esp + 0x2c0]
push eax
call fcn.005a6cd0
add esp, 0xc
mov dword [esp + 0x14], eax
mov ebp, eax
test ebp, ebp
jne 0x5a7eae
push dword [esp + 0x2c8]
lea eax, [esp + 0x58]
push dword [esp + 0x2c8]
push esi
push dword [esp + 0x2c8]
push eax
call fcn.005a7ca0
mov ebp, eax
add esp, 0x14
mov dword [esp + 0x14], ebp
mov si, word [esp + 0xa4]
test si, si
je 0x5a80e6
cmp dword [esp + 0x2c], 0
je 0x5a7ef4
movzx eax, si
shl eax, 4
push eax
lea eax, [esp + 0xb0]
mov word [esp + 0x70], si
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.00430da0
add esp, 0xc
mov dword [esp + 0x2c], 0
jmp 0x5a80c8
movzx eax, di
shl eax, 4
push eax
lea eax, [esp + 0x78]
mov word [esp + 0xe0], di
push eax
lea eax, [esp + 0xec]
push eax
call fcn.00430da0
movzx edx, word [esp + 0xe8]
xor edi, edi
add esp, 0xc
mov dword [esp + 0x10], edi
mov word [esp + 0x6c], di
mov dword [esp + 0x34], edx
test edx, edx
je 0x5a80d1
lea ecx, [esp + 0xec]
movzx eax, si
mov dword [esp + 0x10], ecx
nop word [eax + eax]
mov dword [esp + 0x30], 0
test eax, eax
je 0x5a80ac
movzx ebp, word [ecx + 2]
lea esi, [esp + 0xb4]
movzx eax, word [ecx]
mov edx, dword [ecx - 8]
mov ecx, dword [ecx - 4]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
movsx edi, bp
movsx ebx, ax
mov dword [esp + 0x28], esi
nop word [eax + eax]
movzx edx, word [esi + 2]
movsx eax, dx
cmp bp, dx
jl 0x5a7fc4
lea ecx, [eax + 0x31]
cmp edi, ecx
jle 0x5a7fa8
movzx esi, bp
jmp 0x5a7fea
lea ecx, [eax + 0x1f]
cmp edi, ecx
jle 0x5a7fb4
lea eax, [ebp + 1]
jmp 0x5a7fe7
mov ecx, edi
sub ecx, eax
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add ax, bp
jmp 0x5a7fe7
lea ecx, [edi + 0x31]
cmp eax, ecx
jle 0x5a7fcf
mov esi, edx
jmp 0x5a7fea
lea ecx, [edi + 0x1f]
cmp eax, ecx
jle 0x5a7fdb
lea eax, [edx + 1]
jmp 0x5a7fe7
sub eax, edi
movzx eax, byte [eax + str._n_n_t_t_b_b_a_a_a]
add ax, dx
movzx esi, ax
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x10]
movzx edx, word [eax]
movzx eax, word [ebp]
movsx ecx, dx
cmp ax, dx
jl 0x5a8037
lea eax, [ecx + 0x31]
cmp ebx, eax
jle 0x5a800f
mov ecx, ebp
movzx eax, word [ecx]
jmp 0x5a805d
lea eax, [ecx + 0x1f]
cmp ebx, eax
jle 0x5a8020
mov ecx, dword [esp + 0x10]
movzx eax, word [ecx]
inc eax
jmp 0x5a805a
mov edx, dword [esp + 0x10]
mov eax, ebx
sub eax, ecx
movzx ecx, word [edx]
movzx eax, byte [eax + str._n_n_t_t_b_b_a_a_a]
add ax, cx
jmp 0x5a805a
lea eax, [ebx + 0x31]
cmp ecx, eax
jle 0x5a8042
mov eax, edx
jmp 0x5a805d
lea eax, [ebx + 0x1f]
cmp ecx, eax
jle 0x5a804e
lea eax, [edx + 1]
jmp 0x5a805a
sub ecx, ebx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add ax, dx
movzx eax, ax
mov ecx, dword [esp + 0x48]
push esi
mov esi, dword [esp + 0x2c]
push eax
mov eax, dword [esi - 4]
or eax, dword [esp + 0x54]
or ecx, dword [esi - 8]
push eax
push ecx
lea eax, [esp + 0x7c]
push eax
call fcn.005a9800
mov ecx, dword [esp + 0x44]
add esi, 0x10
movzx eax, word [esp + 0xb8]
inc ecx
mov ebp, dword [esp + 0x64]
add esp, 0x14
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], esi
cmp ecx, eax
jl 0x5a7f90
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
add ecx, 0x10
sub edx, 1
mov dword [esp + 0x10], ecx
mov dword [esp + 0x34], edx
jne 0x5a7f50
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x14]
mov di, word [esp + 0x6c]
mov dword [esp + 0x10], edi
mov esi, dword [esp + 0x18]
add ebx, 0x30
mov dword [esp + 0x38], ebx
cmp ebx, esi
jb 0x5a7dc0
jmp 0x5a80f1
xor edi, edi
mov dword [esp + 0x10], edi
mov word [esp + 0x6c], di
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov eax, 1
mov word [esi + 0x30], ax
xorps xmm0, xmm0
mov eax, dword [esi + 0x38]
xor ebx, ebx
mov dword [eax], ecx
xor eax, eax
mov dword [esi + 0x2c], 0x2000
mov word [esi + 0x12], ax
mov byte [esi + 0x11], al
movups xmmword [esi + 0x18], xmm0
mov dword [esi + 0x28], eax
test ebp, ebp
jne 0x5a817a
movzx ebp, di
lea esi, [esp + 0x7e]
mov edi, dword [esp + 0x20]
cmp ebx, ebp
jge 0x5a816e
movzx eax, word [esi - 2]
mov ecx, dword [esi - 6]
inc ax
mov word [edi + 0x14], ax
movzx eax, word [esi]
push edi
push dword [esp + 0x2bc]
mov word [edi + 0x16], ax
mov eax, dword [esi - 0xa]
mov dword [edi], eax
mov dword [edi + 4], ecx
call fcn.005a8f30
add esp, 8
mov dword [esp + 0x14], eax
inc ebx
add esi, 0x10
test eax, eax
je 0x5a8132
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov ecx, 0x200
add ebx, 0x30
mov dword [esp + 0x24], ebx
cmp ebx, eax
jb 0x5a7d35
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x2a4
ret