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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [ecx + 0x100]
mov dword [ebp - 0x38], eax
mov eax, dword [ecx]
push ebx
push esi
push edi
test byte [eax + 0x50], 1
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], 0
jne 0x5baa747
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x18], eax
add eax, 8
lea ecx, [ecx + ecx*8]
shl ecx, 3
add eax, ecx
mov dword [ebp - 0x20], ecx
cmp dword [edx + 0x44], 0
mov dword [ebp - 8], eax
mov ecx, dword [eax + 0x2c]
mov ebx, dword [eax + 0x14]
mov dword [ebp - 0x3c], ecx
jne 0x5baa747
cmp dword [ebx + 0x44], 0
jne 0x5baa747
mov eax, dword [ebx + 0x3c]
mov esi, dword [ebx + 0x20]
test eax, eax
je 0x5baa6dd
cmp dword [edx + 0x3c], 0
jne 0x5baa747
test eax, eax
je 0x5baa6dd
cmp dword [eax + 0x10], 0
jne 0x5baa747
mov ecx, dword [edx + 4]
mov dword [ebp - 0x1c], ecx
test ecx, 0x100
je 0x5baa6ef
test eax, eax
jne 0x5baa747
mov edx, dword [esi]
test edx, edx
je 0x5baa747
mov ecx, dword [ebx + 4]
test cl, 1
jne 0x5baa747
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x5baa710
mov esi, dword [ebp - 0x18]
cmp dword [esi], 1
jg 0x5baa747
test edi, edi
jne 0x5baa747
mov esi, dword [ebp - 0x14]
cmp dword [esi + 0x30], 0
mov esi, dword [ebx + 0x20]
je 0x5baa722
cmp dword [ebx + 0x30], 0
jne 0x5baa747
test edi, edi
je 0x5baa72c
cmp dword [ebx + 0x30], 0
jne 0x5baa747
test eax, eax
je 0x5baa750
mov esi, dword [ebp - 0x14]
cmp dword [esi + 0x24], 0
mov esi, dword [ebx + 0x20]
jne 0x5baa747
test eax, eax
je 0x5baa750
mov eax, dword [ebp - 0x1c]
test al, 1
je 0x5baa753
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1c]
test ecx, 0x2000
jne 0x5baa747
mov ecx, dword [ebp - 8]
mov cl, byte [ecx + 0x24]
test cl, 0x60
je 0x5baa78a
cmp edx, 1
jg 0x5baa747
mov eax, dword [esi + 0x18]
cmp byte [eax + 0x2b], 1
je 0x5baa747
mov eax, dword [ebp - 0x1c]
test al, 1
jne 0x5baa747
test cl, 0x10
jne 0x5baa747
mov ecx, 1
mov dword [ebp - 0x2c], ecx
jmp 0x5baa78c
xor ecx, ecx
cmp dword [ebp + 8], 0
jle 0x5baa798
test byte [esi + 0x2c], 0x40
jne 0x5baa747
mov esi, dword [ebp - 8]
test dword [esi + 0x28], 0x100
je 0x5baa7b0
mov eax, dword [esi + 0x44]
cmp byte [eax + 0x12], 0
je 0x5baa747
mov eax, dword [ebp - 0x1c]
cmp dword [ebx + 0x34], 0
je 0x5baa8b3
cmp dword [ebx + 0x30], 0
jne 0x5baa747
test edi, edi
jne 0x5baa747
test al, 1
jne 0x5baa747
test ecx, ecx
jne 0x5baa747
mov eax, ebx
test byte [eax + 4], 9
jne 0x5baa747
mov edx, dword [eax + 0x34]
test edx, edx
je 0x5baa7f0
cmp byte [eax], 0x87
jne 0x5baa747
mov ecx, dword [eax + 0x20]
cmp dword [ecx], 1
jl 0x5baa747
cmp dword [eax + 0x44], 0
jne 0x5baa747
cmp dword [ebp + 8], 0
jle 0x5baa816
test byte [ecx + 0x2c], 0x40
jne 0x5baa747
mov eax, edx
test eax, eax
jne 0x5baa7d6
mov edi, dword [ebp - 0x14]
mov esi, dword [edi + 0x30]
test esi, esi
je 0x5baa844
mov edx, dword [esi]
xor ecx, ecx
test edx, edx
jle 0x5baa844
nop
cmp word [esi + eax + 0x18], 0
je 0x5baa747
inc ecx
add eax, 0x14
cmp ecx, edx
jl 0x5baa830
test dword [edi + 4], 0x2000
jne 0x5baa747
mov ecx, ebx
call fcn.05baacc0
test eax, eax
jne 0x5baa747
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0xc]
cmp dword [eax], 1
jle 0x5baa8b6
cmp dword [edi + 0x68], 0x1f4
jg 0x5baa747
mov esi, dword [ebp - 0x10]
test dword [esi + 0x50], 0x800000
jne 0x5baa747
mov eax, dword [edi + 0x28]
mov ecx, esi
cdq
add eax, 1
adc edx, 0
shld edx, eax, 2
shl eax, 2
push edx
push eax
call fcn.05c20800
add esp, 8
mov dword [ebp - 0x24], eax
test eax, eax
je 0x5baa8b9
mov ecx, dword [edi + 0x28]
mov dword [eax], ecx
jmp 0x5baa8b9
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov edx, 0x15
push 0
push 0
push 0
mov eax, dword [eax + 8]
mov ecx, edi
mov dword [edi + 0x100], eax
call fcn.05bcf990
mov ecx, dword [ebp - 8]
add esp, 0xc
mov eax, dword [ebp - 0x38]
mov dword [edi + 0x100], eax
mov edx, dword [ecx + 4]
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x30], eax
test edx, edx
je 0x5baa8fd
mov ecx, esi
call fcn.05c20b20
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
test edx, edx
je 0x5baa90e
mov ecx, esi
call fcn.05c20b20
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x5baa91f
mov ecx, esi
call fcn.05c20b20
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x14], 0
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x5baaa05
mov edx, dword [ebp - 0x14]
jmp 0x5baa952
mov ecx, ebx
mov edi, dword [ecx + 0x10]
mov eax, dword [edx + 0x34]
mov ebx, dword [edx + 0x30]
mov esi, dword [edx + 0x3c]
mov dword [ecx + 0x10], 0
mov ecx, dword [ebp - 0x10]
push 0
mov dword [ebp - 0x1c], eax
mov dword [edx + 0x30], 0
mov dword [edx + 0x34], 0
mov dword [edx + 0x3c], 0
call fcn.05bdf6c0
mov edx, dword [ebp - 0x14]
mov ecx, eax
add esp, 4
mov dword [ebp - 0x38], ecx
mov dword [edx + 0x30], ebx
mov ebx, dword [ebp - 8]
mov dword [edx + 0x3c], esi
mov byte [edx], 0x87
mov dword [ebx + 0x10], edi
mov edi, dword [ebp - 0xc]
test ecx, ecx
jne 0x5baa9b0
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0x34], eax
jmp 0x5baa9f2
inc dword [edi + 0x68]
mov eax, dword [edi + 0x68]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x5baa9df
mov esi, dword [ebp - 0x10]
cmp byte [esi + 0x57], 0
jne 0x5baa9df
push eax
push dword [ebp + 8]
mov edx, ecx
mov ecx, edi
call fcn.05baae50
mov ecx, dword [ebp - 0x38]
add esp, 8
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0x34], eax
test eax, eax
je 0x5baa9ec
mov dword [eax + 0x38], ecx
mov dword [ecx + 0x38], edx
mov dword [edx + 0x34], ecx
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x5baa950
jmp 0x5baaa08
mov ebx, dword [ebp - 8]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x5baaa19
mov ecx, dword [ebp - 0x10]
mov edx, eax
call fcn.05c20b20
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x57], 0
je 0x5baaa34
mov esi, dword [ebp - 0x30]
mov eax, 1
mov dword [ebx + 0x14], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x10]
test edx, edx
je 0x5baaa68
mov eax, dword [edx + 0x18]
cmp eax, 1
jne 0x5baaa5d
mov eax, dword [edi + 0x78]
mov ecx, edi
test eax, eax
push edx
cmovne ecx, eax
mov edx, fcn.05bcdee0
call fcn.05bb1ff0
add esp, 4
jmp 0x5baaa61
dec eax
mov dword [edx + 0x18], eax
mov dword [ebx + 0x10], 0
mov ecx, dword [ebp - 0x14]
mov edi, ecx
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov byte [ebp - 2], 0
mov al, byte [edx + eax + 0x2c]
mov edx, dword [edi + 0x20]
and al, 0x40
mov byte [ebp - 1], al
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x18], edx
mov ebx, dword [eax]
mov dword [ebp - 0x24], ebx
cmp edi, ecx
jne 0x5baaaa7
mov ecx, dword [ebp - 8]
mov cl, byte [ecx + 0x24]
mov byte [ebp - 2], cl
cmp ebx, 1
jle 0x5baaad3
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
inc eax
push eax
lea eax, [ebx - 1]
push eax
call fcn.05bc81d0
mov edx, eax
add esp, 8
mov dword [ebp - 0x18], edx
test edx, edx
je 0x5baac90
mov eax, dword [ebp - 0x34]
mov dword [edi + 0x20], edx
test ebx, ebx
jle 0x5baab59
mov esi, dword [ebp - 0x20]
lea ebx, [eax + 8]
mov eax, dword [ebp - 0x24]
add esi, 0x2c
mov edi, dword [ebp - 0x10]
add esi, edx
mov dword [ebp - 0x34], eax
nop
test dword [esi + 4], 0x400
je 0x5baab03
mov edx, dword [esi + 0xc]
mov ecx, edi
call fcn.05bc83b0
movups xmm0, xmmword [ebx]
mov al, byte [ebp - 1]
push 0x48
movups xmmword [esi - 0x24], xmm0
push 0
movups xmm0, xmmword [ebx + 0x10]
push ebx
movups xmmword [esi - 0x14], xmm0
movups xmm0, xmmword [ebx + 0x20]
movups xmmword [esi - 4], xmm0
movups xmm0, xmmword [ebx + 0x30]
movups xmmword [esi + 0xc], xmm0
movq xmm0, qword [ebx + 0x40]
movq qword [esi + 0x1c], xmm0
or byte [esi], al
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x28], eax
call fcn.05b02790
add esp, 0xc
add esi, 0x48
add ebx, 0x48
sub dword [ebp - 0x34], 1
jne 0x5baaaf0
mov edi, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov al, byte [edx + ecx + 0x2c]
and al, 0x40
or al, byte [ebp - 1]
or al, byte [ebp - 2]
mov byte [edx + ecx + 0x2c], al
mov edx, dword [esi + 0x30]
test edx, edx
je 0x5baabab
test dword [edi + 4], 0x400000
jne 0x5baabab
xor ecx, ecx
cmp dword [edx], ecx
jle 0x5baaba1
lea eax, [edx + 0x18]
nop dword [eax + eax]
xor esi, esi
lea eax, [eax + 0x14]
mov word [eax - 0x14], si
inc ecx
cmp ecx, dword [edx]
jl 0x5baab90
mov esi, dword [ebp - 0x1c]
mov dword [edi + 0x30], edx
mov dword [esi + 0x30], 0
cmp dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x1c]
mov esi, dword [esi + 0x24]
mov dword [eax + 0x24], 0
jbe 0x5baabcd
mov edx, dword [ebp - 0x28]
mov ecx, esi
push 1
call fcn.05bb1100
add esp, 4
test esi, esi
je 0x5baabf4
mov eax, dword [edi + 0x24]
test eax, eax
je 0x5baabf1
push eax
push esi
mov esi, dword [ebp - 0xc]
mov edx, 0x2c
mov ecx, esi
call fcn.05be0c30
add esp, 8
mov dword [edi + 0x24], eax
jmp 0x5baabf7
mov dword [edi + 0x24], esi
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x57], 0
jne 0x5baac39
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x54], esi
mov esi, dword [ebp - 0x1c]
mov ecx, esi
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x44], eax
call fcn.05baae30
push 0
mov edx, edi
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x54]
call fcn.05bab060
add esp, 4
jmp 0x5baac3c
mov esi, dword [ebp - 0x1c]
mov eax, dword [esi + 4]
and eax, 0x100
or dword [edi + 4], eax
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x5baac58
mov dword [edi + 0x3c], eax
mov dword [esi + 0x3c], 0
test ebx, ebx
jle 0x5baac79
mov esi, dword [ebp - 0x18]
add esi, 8
add esi, dword [ebp - 0x20]
mov edx, esi
mov ecx, edi
call fcn.05baafd0
add esi, 0x48
sub ebx, 1
jne 0x5baac65
mov esi, dword [ebp - 0x1c]
mov edi, dword [edi + 0x34]
mov esi, dword [esi + 0x34]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x1c], esi
test edi, edi
jne 0x5baaa76
mov edx, dword [ebp - 0xc]
lea ecx, [ebp - 0x70]
call fcn.05bd8870
mov ebx, dword [ebp - 0x30]
mov edx, ebx
call fcn.05be4f30
push ebx
push dword [ebp - 0x10]
call fcn.05bb1420
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret