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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1d4
mov eax, dword [0x5c066124]
xor eax, esp
mov dword [esp + 0x1d0], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x10]
push ebx
mov edx, dword [edx + 4]
mov dword [esp + 8], ecx
mov ebx, dword [eax + 4]
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x68], ecx
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x74], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x2c], edx
mov eax, dword [ebx]
mov dword [esp + 0x64], ecx
push esi
push edi
mov ecx, dword [eax + 0x34]
mov eax, dword [edx]
and ecx, 0xfc00
mov dword [esp + 0x18], edx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x80], edx
mov eax, dword [eax + 0x34]
and eax, 0xfc00
cmp ecx, eax
jne 0x5c00731a
mov esi, dword [ebp + 0x18]
mov dword [esp + 0x34], edx
test ecx, ecx
je 0x5c006ac4
mov eax, dword [ebx]
test dword [eax + 0x34], esi
je 0x5c0072c9
mov edi, dword [edx + 0x24]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ecx
test edi, edi
je 0x5c006b79
cmp dword [ebx + 0x24], eax
je 0x5c006b79
mov ecx, ebx
call fcn.5c007566
mov ecx, edx
mov esi, eax
call fcn.5c007566
mov ecx, dword [esi + 4]
mov esi, 0x1828
xor ecx, dword [eax + 4]
test esi, ecx
jne 0x5c00731a
mov ecx, edx
call fcn.5c007566
mov eax, dword [eax + 4]
and eax, esi
cmp eax, 8
je 0x5c006b3e
cmp eax, 0x20
je 0x5c006b37
cmp eax, 0x800
je 0x5c006b33
cmp eax, 0x1000
jne 0x5c007336
push 4
jmp 0x5c006b40
push 2
jmp 0x5c006b40
mov ecx, 0x100
jmp 0x5c006b41
push 0x10
pop ecx
mov eax, dword [ebx + 0x24]
mov esi, dword [edi]
mov dword [esp + 0x20], ecx
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
push dword [eax + 0x10]
push ecx
mov ecx, dword [esi + 0x18]
push 0
push 0
push edi
call dword [0x5c06a150]
call dword [esi + 0x18]
mov dword [esp + 0x28], eax
test eax, eax
jne 0x5c00731f
mov edx, dword [esp + 0x34]
mov dword [esp + 0x18], edx
mov eax, 0x200
test dword [ebx + 0x1c], eax
je 0x5c006b89
lea eax, [ebx + 0x34]
push eax
jmp 0x5c006b90
test dword [edx + 0x1c], eax
je 0x5c006bb0
push 0
push 2
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x3c]
mov esi, dword [eax + 0x74]
mov ecx, esi
call dword [0x5c06a150]
call esi
mov edx, dword [esp + 0x34]
mov dword [esp + 0x18], edx
mov eax, 0x800
test dword [ebx + 0x1c], eax
je 0x5c006bc0
lea eax, [ebx + 0x3c]
push eax
jmp 0x5c006bc7
test dword [edx + 0x1c], eax
je 0x5c006be7
push 0
push 8
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x3c]
mov esi, dword [eax + 0x74]
mov ecx, esi
call dword [0x5c06a150]
call esi
mov edx, dword [esp + 0x34]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x54], eax
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x58], edx
mov dword [esp + 0x8c], ebx
test eax, eax
je 0x5c006c23
mov esi, eax
lea edi, [esp + 0x1bc]
lea eax, [esp + 0x1bc]
mov dword [esp + 0x24], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x5c006c28
and dword [esp + 0x24], 0
mov eax, dword [esp + 0x74]
test eax, eax
je 0x5c006c4a
mov esi, eax
lea edi, [esp + 0x1cc]
lea eax, [esp + 0x1cc]
mov dword [esp + 0x1c], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x5c006c50
xor edi, edi
mov dword [esp + 0x1c], edi
mov esi, ebx
mov dword [esp + 0x48], edx
xor edi, edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x14], edi
mov edi, dword [esi + 4]
mov ecx, dword [edx + 4]
mov ax, word [edi + 0x1c]
cmp ax, word [ecx + 0x1c]
jne 0x5c006c7e
mov ax, word [edi + 0x1e]
cmp ax, word [ecx + 0x1e]
je 0x5c006d24
mov eax, dword [esp + 0x24]
test eax, eax
je 0x5c006cc0
sar dword [eax], 1
mov esi, dword [eax + 4]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov edi, dword [eax]
sar esi, 1
inc edx
sar edx, 1
inc ecx
mov dword [eax + 4], esi
mov eax, edx
sub eax, edi
sar ecx, 1
cmp eax, 1
jae 0x5c006caa
lea edx, [edi + 1]
mov edi, dword [esp + 0x24]
mov eax, ecx
sub eax, esi
mov dword [edi + 8], edx
cmp eax, 1
jae 0x5c006cbd
lea ecx, [esi + 1]
mov dword [edi + 0xc], ecx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5c006d02
sar dword [eax], 1
mov esi, dword [eax + 4]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov edi, dword [eax]
sar esi, 1
inc edx
sar edx, 1
inc ecx
mov dword [eax + 4], esi
mov eax, edx
sub eax, edi
sar ecx, 1
cmp eax, 1
jae 0x5c006cec
lea edx, [edi + 1]
mov edi, dword [esp + 0x1c]
mov eax, ecx
sub eax, esi
mov dword [edi + 8], edx
cmp eax, 1
jae 0x5c006cff
lea ecx, [esi + 1]
mov dword [edi + 0xc], ecx
inc dword [esp + 0x14]
lea ecx, [esp + 0x2c]
call fcn.5c007543
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x5c00731a
mov edx, dword [esp + 0x18]
jmp 0x5c006c60
mov eax, dword [edx]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x5c006d2e
inc ecx
mov eax, dword [ebx]
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x5c006d38
inc eax
sub eax, dword [esp + 0x14]
cmp ecx, eax
je 0x5c006d46
ja 0x5c00731a
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x2288]
cmp dword [eax + 4], 1
jne 0x5c006fc0
mov eax, dword [ecx]
push edx
push ebx
mov edi, dword [eax + 0x11c]
mov ecx, edi
call dword [0x5c06a150]
mov ecx, dword [esp + 0x18]
call edi
test al, al
je 0x5c006fb8
cmp dword [ebp + 0x18], 0xffffffff
mov cl, 1
mov eax, dword [ebx]
mov esi, dword [eax + 0x60]
jne 0x5c006e46
mov edx, dword [esi + 8]
test edx, edx
je 0x5c0072c6
cmp edx, 6
je 0x5c006e23
mov eax, dword [ebx + 4]
xor edi, edi
cmp dword [eax + 0x20], edi
ja 0x5c00733d
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 4]
cmp dword [eax + 0x20], edi
ja 0x5c00733d
mov dword [esp + 0x14], edi
test edx, edx
je 0x5c006e0d
lea edi, [esi + 0x20]
mov eax, dword [edi]
push ecx
mov dword [esp + 0xa4], eax
mov eax, dword [edi + 4]
push edi
mov dword [esp + 0xac], eax
lea eax, [esp + 0xa8]
push eax
push ebx
push ecx
mov ecx, dword [esp + 0x24]
call fcn.5c01431c
test eax, eax
jne 0x5c00731f
mov eax, dword [esp + 0x14]
add edi, 0x10
mov ecx, dword [esp + 0x34]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esi + 8]
jb 0x5c006dc8
push ecx
mov ecx, dword [esp + 0x14]
call fcn.5c00757f
mov ecx, dword [esp + 0x10]
push ebx
call fcn.5c00757f
xor cl, cl
and dword [esi + 8], 0
mov edi, 0x7fffffff
and dword [esi + 0xc], 0
and dword [esi + 0x18], 0
and dword [esi + 0x1c], 0
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
test cl, cl
je 0x5c0072c6
mov ecx, dword [ebx + 4]
cmp dword [ecx + 0x20], 0
ja 0x5c00733d
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 4]
cmp dword [eax + 0x20], 0
ja 0x5c00733d
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x5c006e7b
mov eax, dword [esi]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x50], eax
jmp 0x5c006e85
and dword [esp + 0x4c], 0
and dword [esp + 0x50], 0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x5c006e9c
mov esi, eax
lea edi, [esp + 0xa8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x5c006ec2
movzx eax, word [ecx + 0x1c]
and dword [esp + 0xa8], 0
and dword [esp + 0xac], 0
mov dword [esp + 0xb4], eax
movzx eax, word [ecx + 0x1e]
mov dword [esp + 0xb0], eax
mov esi, dword [esp + 0x10]
lea eax, [esp + 0xa8]
push ecx
push eax
lea eax, [esp + 0x54]
mov ecx, esi
push eax
push ebx
push edx
call fcn.5c01431c
test eax, eax
jne 0x5c00731f
push dword [esp + 0x34]
mov ecx, esi
call fcn.5c00757f
push ebx
mov ecx, esi
call fcn.5c00757f
mov eax, dword [esp + 0x34]
test dword [eax + 0x1c], 0x40000000
jne 0x5c0072c6
mov ecx, dword [eax]
test dword [ecx + 0x34], 0x20010
je 0x5c0072c6
mov ecx, dword [ecx + 0x54]
test ecx, ecx
je 0x5c006f4a
mov dword [ecx], 1
mov eax, dword [eax]
mov esi, dword [eax + 8]
test dword [esi + 0xc], 0x20000
je 0x5c006f46
push dword [esi + 0x3c]
mov esi, dword [esi + 0x90]
mov ecx, esi
call dword [0x5c06a150]
call esi
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
mov edx, dword [esp + 0x1c]
mov eax, dword [eax + 0x60]
test edx, edx
je 0x5c006fac
mov edi, dword [eax + 8]
cmp edi, 6
je 0x5c0072c6
add edi, 2
mov esi, edx
shl edi, 4
add edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
inc dword [eax + 8]
add dword [eax + 0xc], 0x10
mov ecx, dword [edx]
cmp ecx, dword [eax + 0x10]
jge 0x5c006f82
mov dword [eax + 0x10], ecx
mov ecx, dword [edx + 8]
cmp ecx, dword [eax + 0x18]
jle 0x5c006f8d
mov dword [eax + 0x18], ecx
mov ecx, dword [edx + 4]
cmp ecx, dword [eax + 0x14]
jge 0x5c006f98
mov dword [eax + 0x14], ecx
mov ecx, dword [edx + 0xc]
cmp ecx, dword [eax + 0x1c]
jle 0x5c0072c6
mov dword [eax + 0x1c], ecx
jmp 0x5c0072c6
mov dword [eax + 8], 6
jmp 0x5c0072c6
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
cmp dword [ebp + 0x18], 0xffffffff
mov dword [esp + 0x8c], esi
mov dword [esp + 0x58], edx
mov eax, dword [esi]
mov edi, dword [eax + 0x60]
jne 0x5c00701f
cmp dword [edi + 8], 0
je 0x5c007057
cmp dword [edi + 8], 6
je 0x5c00701f
mov eax, dword [ecx + 0x2980]
push 0
push edi
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x1c]
mov ecx, esi
call dword [0x5c06a150]
call esi
mov eax, dword [esp + 0x10]
push dword [eax + 0x2980]
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x5c]
mov esi, dword [eax + 0x70]
mov ecx, esi
call dword [0x5c06a150]
call esi
push 0
push 0x1000000
push dword [esp + 0x2c]
lea eax, [esp + 0x94]
push eax
push ebx
lea eax, [esp + 0x68]
push eax
mov eax, dword [esp + 0x6c]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x5c06a150]
call esi
cmp dword [ebp + 0x18], 0xffffffff
mov ebx, eax
mov dword [esp + 0x28], ebx
jne 0x5c00709a
jmp 0x5c00705b
mov ebx, dword [esp + 0x28]
cmp dword [edi + 8], 0
je 0x5c00709a
cmp dword [edi + 8], 6
je 0x5c00707f
push 0
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x5c]
mov esi, dword [eax + 0x70]
mov ecx, esi
call dword [0x5c06a150]
call esi
and dword [edi + 8], 0
mov eax, 0x7fffffff
and dword [edi + 0xc], 0
and dword [edi + 0x18], 0
and dword [edi + 0x1c], 0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
cmp ebx, 0x80004001
jne 0x5c007218
mov eax, dword [esp + 0x20]
cmp eax, 0x10
je 0x5c0070bd
cmp eax, 4
je 0x5c0070bd
cmp eax, 2
jne 0x5c007386
push 0x7c
pop esi
xor ebx, ebx
lea eax, [esp + 0xb8]
push esi
push ebx
push eax
mov edi, ebx
call sub.msvcrt.dll_memset
push esi
lea eax, [esp + 0x148]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
mov dword [esp + 0x138], esi
lea eax, [esp + 0xb8]
mov dword [esp + 0xb8], esi
push ebx
push 1
push eax
push ebx
lea eax, [esp + 0x98]
push eax
mov eax, dword [esp + 0x9c]
mov esi, dword [eax + 0x64]
mov ecx, esi
call dword [0x5c06a150]
call esi
test eax, eax
jne 0x5c00738a
push ebx
push 1
lea eax, [esp + 0x140]
push eax
push ebx
lea eax, [esp + 0x64]
push eax
mov eax, dword [esp + 0x68]
mov esi, dword [eax + 0x64]
mov ecx, esi
call dword [0x5c06a150]
call esi
mov ebx, eax
mov dword [esp + 0x28], ebx
test ebx, ebx
jne 0x5c007344
mov eax, dword [esp + 0x20]
dec eax
sub eax, 1
je 0x5c007185
dec eax
sub eax, 1
je 0x5c007176
sub eax, 0xc
jne 0x5c007192
mov edi, dword [esp + 0xc4]
lea edi, [edi + 1]
shr edi, 1
jmp 0x5c007192
mov edi, dword [esp + 0xc4]
lea edi, [edi + 3]
shr edi, 2
jmp 0x5c007192
mov edi, dword [esp + 0xc4]
lea edi, [edi + 7]
shr edi, 3
and dword [esp + 0x14], 0
cmp dword [esp + 0xc0], 0
mov esi, dword [esp + 0xdc]
mov ebx, dword [esp + 0x15c]
jbe 0x5c0071da
push edi
push esi
push ebx
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x20]
add esp, 0xc
add esi, dword [esp + 0xc8]
add ebx, dword [esp + 0x148]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0xc0]
jb 0x5c0071af
push 0
lea eax, [esp + 0x8c]
push eax
mov eax, dword [esp + 0x90]
mov esi, dword [eax + 0x80]
mov ecx, esi
call dword [0x5c06a150]
call esi
push 0
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x5c]
mov esi, dword [eax + 0x80]
mov ecx, esi
call dword [0x5c06a150]
call esi
jmp 0x5c007220
test ebx, ebx
jne 0x5c007365
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x5c00725e
sar dword [ebx], 1
mov esi, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov edi, dword [ebx]
sar esi, 1
inc edx
sar edx, 1
inc ecx
mov eax, edx
sar ecx, 1
sub eax, edi
mov dword [ebx + 4], esi
cmp eax, 1
jae 0x5c00724c
lea edx, [edi + 1]
mov eax, ecx
mov dword [ebx + 8], edx
sub eax, esi
cmp eax, 1
jae 0x5c00725b
lea ecx, [esi + 1]
mov dword [ebx + 0xc], ecx
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x5c00729c
sar dword [ebx], 1
mov esi, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov edi, dword [ebx]
sar esi, 1
inc edx
sar edx, 1
inc ecx
mov eax, edx
sar ecx, 1
sub eax, edi
mov dword [ebx + 4], esi
cmp eax, 1
jae 0x5c00728a
lea edx, [edi + 1]
mov eax, ecx
mov dword [ebx + 8], edx
sub eax, esi
cmp eax, 1
jae 0x5c007299
lea ecx, [esi + 1]
mov dword [ebx + 0xc], ecx
lea ecx, [esp + 0x2c]
call fcn.5c007543
lea ecx, [esp + 0x48]
call fcn.5c007543
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x5c0072c6
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x10]
test edx, edx
jne 0x5c006fc4
mov esi, dword [ebp + 0x18]
lea ecx, [esp + 0x78]
call fcn.5c00750c
mov ebx, dword [esp + 0x78]
test ebx, ebx
je 0x5c0073aa
lea ecx, [esp + 0x80]
call fcn.5c00750c
mov edx, dword [esp + 0x80]
mov dword [esp + 0x18], edx
test edx, edx
je 0x5c00731a
mov dword [esp + 0x34], edx
mov eax, dword [ebx]
mov ecx, dword [eax + 0x34]
mov eax, dword [edx]
and ecx, 0xfc00
mov eax, dword [eax + 0x34]
and eax, 0xfc00
cmp ecx, eax
je 0x5c006ab5
mov eax, 0x80070057
mov ecx, dword [esp + 0x1dc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.5c04fcf0
mov esp, ebp
pop ebp
ret 0x14
mov eax, 0x80004001
jmp 0x5c00731f
mov eax, 0x887601ae
jmp 0x5c00731f
push 0
lea eax, [esp + 0x8c]
push eax
mov eax, dword [esp + 0x90]
mov esi, dword [eax + 0x80]
mov ecx, esi
call dword [0x5c06a150]
call esi
cmp ebx, 0x887601c2
jne 0x5c007386
mov eax, dword [esp + 0x10]
test byte [eax + 0x2270], 1
je 0x5c007386
or dword [eax + 0x1a6c], 0x8000000
xor ebx, ebx
mov eax, ebx
jmp 0x5c00731f
cmp eax, 0x887601c2
jne 0x5c00731f
mov ecx, dword [esp + 0x10]
test byte [ecx + 0x2270], 1
je 0x5c00731f
or dword [ecx + 0x1a6c], 0x8000000
jmp 0x5c007386
xor eax, eax
jmp 0x5c00731f