Function at 0x5c006325
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 [0x5c059aa4]
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 + 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 0x5c006c18
mov esi, dword [ebp + 0x18]
mov dword [esp + 0x34], edx
test ecx, ecx
je 0x5c0063c0
mov eax, dword [ebx]
test dword [eax + 0x34], esi
je 0x5c006bc7
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 0x5c006475
cmp dword [ebx + 0x24], eax
je 0x5c006475
mov ecx, ebx
call fcn.5c006e4b
mov ecx, edx
mov esi, eax
call fcn.5c006e4b
mov ecx, dword [esi + 4]
mov esi, 0x1828
xor ecx, dword [eax + 4]
test esi, ecx
jne 0x5c006c18
mov ecx, edx
call fcn.5c006e4b
mov eax, dword [eax + 4]
and eax, esi
cmp eax, 8
je 0x5c00643a
cmp eax, 0x20
je 0x5c006433
cmp eax, 0x800
je 0x5c00642f
cmp eax, 0x1000
jne 0x5c006c34
push 4
jmp 0x5c00643c
push 2
jmp 0x5c00643c
mov ecx, 0x100
jmp 0x5c00643d
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 [0x5c05d150]
call dword [esi + 0x18]
mov dword [esp + 0x28], eax
test eax, eax
jne 0x5c006c1d
mov edx, dword [esp + 0x34]
mov dword [esp + 0x18], edx
mov eax, 0x200
test dword [ebx + 0x1c], eax
je 0x5c006485
lea eax, [ebx + 0x34]
push eax
jmp 0x5c00648c
test dword [edx + 0x1c], eax
je 0x5c0064ac
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 [0x5c05d150]
call esi
mov edx, dword [esp + 0x34]
mov dword [esp + 0x18], edx
mov eax, 0x800
test dword [ebx + 0x1c], eax
je 0x5c0064bc
lea eax, [ebx + 0x3c]
push eax
jmp 0x5c0064c3
test dword [edx + 0x1c], eax
je 0x5c0064e3
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 [0x5c05d150]
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 0x5c00651f
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 0x5c006524
and dword [esp + 0x24], 0
mov eax, dword [esp + 0x74]
test eax, eax
je 0x5c006546
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 0x5c00654c
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 0x5c00657a
mov ax, word [edi + 0x1e]
cmp ax, word [ecx + 0x1e]
je 0x5c006620
mov eax, dword [esp + 0x24]
test eax, eax
je 0x5c0065bc
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 0x5c0065a6
lea edx, [edi + 1]
mov edi, dword [esp + 0x24]
mov eax, ecx
sub eax, esi
mov dword [edi + 8], edx
cmp eax, 1
jae 0x5c0065b9
lea ecx, [esi + 1]
mov dword [edi + 0xc], ecx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5c0065fe
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 0x5c0065e8
lea edx, [edi + 1]
mov edi, dword [esp + 0x1c]
mov eax, ecx
sub eax, esi
mov dword [edi + 8], edx
cmp eax, 1
jae 0x5c0065fb
lea ecx, [esi + 1]
mov dword [edi + 0xc], ecx
inc dword [esp + 0x14]
lea ecx, [esp + 0x2c]
call fcn.5c006e28
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x5c006c18
mov edx, dword [esp + 0x18]
jmp 0x5c00655c
mov eax, dword [edx]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x5c00662a
inc ecx
mov eax, dword [ebx]
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x5c006634
inc eax
sub eax, dword [esp + 0x14]
cmp ecx, eax
je 0x5c006642
ja 0x5c006c18
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x2288]
cmp dword [eax + 4], 1
jne 0x5c0068bc
mov eax, dword [ecx]
push edx
push ebx
mov edi, dword [eax + 0x11c]
mov ecx, edi
call dword [0x5c05d150]
mov ecx, dword [esp + 0x18]
call edi
test al, al
je 0x5c0068b4
cmp dword [ebp + 0x18], 0xffffffff
mov cl, 1
mov eax, dword [ebx]
mov esi, dword [eax + 0x60]
jne 0x5c006742
mov edx, dword [esi + 8]
test edx, edx
je 0x5c006bc4
cmp edx, 6
je 0x5c00671f
mov eax, dword [ebx + 4]
xor edi, edi
cmp dword [eax + 0x20], edi
ja 0x5c006c3b
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 4]
cmp dword [eax + 0x20], edi
ja 0x5c006c3b
mov dword [esp + 0x14], edi
test edx, edx
je 0x5c006709
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.5c013626
test eax, eax
jne 0x5c006c1d
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 0x5c0066c4
push ecx
mov ecx, dword [esp + 0x14]
call fcn.5c006e64
mov ecx, dword [esp + 0x10]
push ebx
call fcn.5c006e64
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 0x5c006bc4
mov ecx, dword [ebx + 4]
cmp dword [ecx + 0x20], 0
ja 0x5c006c3b
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 4]
cmp dword [eax + 0x20], 0
ja 0x5c006c3b
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x5c006777
mov eax, dword [esi]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x50], eax
jmp 0x5c006781
and dword [esp + 0x4c], 0
and dword [esp + 0x50], 0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x5c006798
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 0x5c0067be
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.5c013626
test eax, eax
jne 0x5c006c1d
push dword [esp + 0x34]
mov ecx, esi
call fcn.5c006e64
push ebx
mov ecx, esi
call fcn.5c006e64
mov eax, dword [esp + 0x34]
test dword [eax + 0x1c], 0x40000000
jne 0x5c006bc4
mov ecx, dword [eax]
test dword [ecx + 0x34], 0x20010
je 0x5c006bc4
mov ecx, dword [ecx + 0x54]
test ecx, ecx
je 0x5c006846
mov dword [ecx], 1
mov eax, dword [eax]
mov esi, dword [eax + 8]
test dword [esi + 0xc], 0x20000
je 0x5c006842
push dword [esi + 0x3c]
mov esi, dword [esi + 0x90]
mov ecx, esi
call dword [0x5c05d150]
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 0x5c0068a8
mov edi, dword [eax + 8]
cmp edi, 6
je 0x5c006bc4
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 0x5c00687e
mov dword [eax + 0x10], ecx
mov ecx, dword [edx + 8]
cmp ecx, dword [eax + 0x18]
jle 0x5c006889
mov dword [eax + 0x18], ecx
mov ecx, dword [edx + 4]
cmp ecx, dword [eax + 0x14]
jge 0x5c006894
mov dword [eax + 0x14], ecx
mov ecx, dword [edx + 0xc]
cmp ecx, dword [eax + 0x1c]
jle 0x5c006bc4
mov dword [eax + 0x1c], ecx
jmp 0x5c006bc4
mov dword [eax + 8], 6
jmp 0x5c006bc4
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 0x5c00691b
cmp dword [edi + 8], 0
je 0x5c006953
cmp dword [edi + 8], 6
je 0x5c00691b
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 [0x5c05d150]
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 [0x5c05d150]
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 [0x5c05d150]
call esi
cmp dword [ebp + 0x18], 0xffffffff
mov ebx, eax
mov dword [esp + 0x28], ebx
jne 0x5c006996
jmp 0x5c006957
mov ebx, dword [esp + 0x28]
cmp dword [edi + 8], 0
je 0x5c006996
cmp dword [edi + 8], 6
je 0x5c00697b
push 0
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x5c]
mov esi, dword [eax + 0x70]
mov ecx, esi
call dword [0x5c05d150]
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 0x5c006b16
mov eax, dword [esp + 0x20]
cmp eax, 0x10
je 0x5c0069b9
cmp eax, 4
je 0x5c0069b9
cmp eax, 2
jne 0x5c006ca4
xor ebx, ebx
lea eax, [esp + 0xbc]
push 0x78
push ebx
push eax
mov edi, ebx
call sub.msvcrt.dll_memset
push 0x78
lea eax, [esp + 0x14c]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
push 0x7c
pop eax
push ebx
mov dword [esp + 0x13c], eax
mov dword [esp + 0xbc], eax
lea eax, [esp + 0xbc]
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 [0x5c05d150]
call esi
test eax, eax
jne 0x5c006c86
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 [0x5c05d150]
call esi
mov ebx, eax
mov dword [esp + 0x28], ebx
test ebx, ebx
jne 0x5c006c42
mov eax, dword [esp + 0x20]
dec eax
sub eax, 1
je 0x5c006a83
dec eax
sub eax, 1
je 0x5c006a74
sub eax, 0xc
jne 0x5c006a90
mov edi, dword [esp + 0xc4]
lea edi, [edi + 1]
shr edi, 1
jmp 0x5c006a90
mov edi, dword [esp + 0xc4]
lea edi, [edi + 3]
shr edi, 2
jmp 0x5c006a90
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 0x5c006ad8
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 0x5c006aad
push 0
lea eax, [esp + 0x8c]
push eax
mov eax, dword [esp + 0x90]
mov esi, dword [eax + 0x80]
mov ecx, esi
call dword [0x5c05d150]
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 [0x5c05d150]
call esi
jmp 0x5c006b1e
test ebx, ebx
jne 0x5c006c63
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x5c006b5c
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 0x5c006b4a
lea edx, [edi + 1]
mov eax, ecx
mov dword [ebx + 8], edx
sub eax, esi
cmp eax, 1
jae 0x5c006b59
lea ecx, [esi + 1]
mov dword [ebx + 0xc], ecx
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x5c006b9a
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 0x5c006b88
lea edx, [edi + 1]
mov eax, ecx
mov dword [ebx + 8], edx
sub eax, esi
cmp eax, 1
jae 0x5c006b97
lea ecx, [esi + 1]
mov dword [ebx + 0xc], ecx
lea ecx, [esp + 0x2c]
call fcn.5c006e28
lea ecx, [esp + 0x48]
call fcn.5c006e28
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x5c006bc4
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x10]
test edx, edx
jne 0x5c0068c0
mov esi, dword [ebp + 0x18]
lea ecx, [esp + 0x78]
call fcn.5c006df1
mov ebx, dword [esp + 0x78]
test ebx, ebx
je 0x5c006cab
lea ecx, [esp + 0x80]
call fcn.5c006df1
mov edx, dword [esp + 0x80]
mov dword [esp + 0x18], edx
test edx, edx
je 0x5c006c18
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 0x5c0063b1
mov eax, 0x80070057
mov ecx, dword [esp + 0x1dc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.5c04f7b0
mov esp, ebp
pop ebp
ret 0x14
mov eax, 0x80004001
jmp 0x5c006c1d
mov eax, 0x887601ae
jmp 0x5c006c1d
push 0
lea eax, [esp + 0x8c]
push eax
mov eax, dword [esp + 0x90]
mov esi, dword [eax + 0x80]
mov ecx, esi
call dword [0x5c05d150]
call esi
cmp ebx, 0x887601c2
jne 0x5c006ca4
mov eax, dword [esp + 0x10]
test byte [eax + 0x2270], 1
je 0x5c006ca4
or dword [eax + 0x1a6c], 0x8000000
xor ebx, ebx
jmp 0x5c006ca4
cmp eax, 0x887601c2
jne 0x5c006c1d
mov ecx, dword [esp + 0x10]
test byte [ecx + 0x2270], 1
je 0x5c006c1d
or dword [ecx + 0x1a6c], 0x8000000
mov eax, ebx
jmp 0x5c006c1d
xor eax, eax
jmp 0x5c006c1d