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

Disassembly:
sub esp, 0x168
push ebx
push ebp
mov edx, ecx
push esi
push edi
xor eax, eax
mov ecx, 0x20
lea edi, [edx + 0x1934]
rep stosd dword es:[edi], eax
mov ebp, dword [edx + 4]
xor edi, edi
xor esi, esi
cmp ebp, edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 1
je 0x5c301f
lea ebx, [ebx]
cmp dword [ebp + 0x154], edi
je 0x5c26bd
mov dword [esp + 0x2c], edi
jmp 0x5c3004
cmp dword [ebp + 0x28], edi
jne 0x5c3004
mov al, byte [edx + 0x1130]
test al, al
mov dword [esp + 0x2c], edi
je 0x5c26ef
mov eax, dword [ebp + 0x38]
cmp eax, edi
je 0x5c26e2
mov eax, dword [eax + 0x18]
cmp eax, edi
jne 0x5c26e8
mov eax, dword [ebp + 0x16c]
mov dword [edx + esi*4 + 0x1934], eax
cmp esi, 0x20
mov dword [esp + 0x18], edi
jge 0x5c2713
mov ecx, edx
call fcn.005c13fc
cmp eax, edi
mov dword [esp + 0x18], eax
je 0x5c2713
mov dword [esp + esi*4 + 0xf8], eax
inc esi
mov dword [esp + 0x28], esi
mov edi, dword [ebp + 0x38]
mov eax, dword [edi]
mov ecx, eax
sar ecx, 2
and ecx, 3
test al, 2
mov edx, 0
setne dl
mov ecx, dword [ecx*4 + 0x5fb068]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x10], edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ebx
inc edx
test al, 1
mov eax, 0
setne al
inc eax
imul edx, eax
mov eax, dword [ebp + 0x90]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x14]
mov esi, dword [edx + 0xc]
sar esi, cl
xor edx, edx
cmp eax, edx
mov dword [esp + 0x20], esi
je 0x5c29aa
cmp esi, edx
mov eax, dword [esp + 0x17c]
mov dword [ebp + eax*4 + 0x9c], edx
jle 0x5c28f7
jmp 0x5c278c
mov edx, dword [ebp + 0x124]
cmp esi, edx
jge 0x5c2798
mov edx, esi
test edx, edx
jle 0x5c2833
mov al, byte [ebp + 0x12e]
test al, al
je 0x5c27d1
test ebx, ebx
je 0x5c27f2
mov ecx, edx
imul ecx, dword [esp + 0x1c]
mov esi, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, esi
mov esi, dword [esp + 0x20]
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x10]
jmp 0x5c27f2
mov ecx, dword [ebp + 0x148]
mov eax, dword [ecx]
push edx
push ebx
call dword [eax + 4]
mov edx, eax
test edx, edx
jne 0x5c27f2
mov al, byte [ebp + 0x12f]
test al, al
jne 0x5c28f5
mov al, byte [ebp + 0x12f]
test al, al
jne 0x5c280a
mov eax, dword [esp + 0x17c]
add dword [ebp + eax*4 + 0x9c], edx
test ebx, ebx
je 0x5c2817
mov ecx, edx
imul ecx, dword [esp + 0x1c]
add ebx, ecx
mov ecx, dword [ebp + 0x124]
sub esi, edx
sub ecx, edx
test edx, edx
mov dword [esp + 0x20], esi
mov dword [ebp + 0x124], ecx
jg 0x5c28ed
push ebp
call dword [ebp + 0x90]
add esp, 4
neg eax
sbb al, al
inc al
mov byte [ebp + 0x12f], al
mov eax, dword [ebp + 0x124]
test eax, eax
jg 0x5c289b
mov al, byte [ebp + 0x12c]
test al, al
je 0x5c2889
mov eax, dword [ebp + 0x128]
test eax, eax
mov byte [ebp + 0x12c], 0
jge 0x5c2892
neg eax
mov dword [ebp + 0x124], eax
mov dword [ebp + 0x128], 0
mov byte [ebp + 0x12e], 1
jmp 0x5c28a2
mov edx, dword [edi + 4]
mov dword [ebp + 0x124], edx
mov byte [ebp + 0x12e], 1
jmp 0x5c28a2
mov byte [ebp + 0x12e], 0
mov ecx, dword [ebp + 0x168]
test ecx, ecx
je 0x5c28ed
mov eax, dword [ebp + 0x124]
test eax, eax
je 0x5c28ed
mov al, byte [ebp + 0x12e]
test al, al
jne 0x5c28ed
push 1
call fcn.005d895c
test eax, eax
je 0x5c28ed
mov ecx, dword [edi]
mov edx, dword [edi + 4]
sar ecx, 2
and ecx, 3
mov ecx, dword [ecx*4 + 0x5fb068]
shl edx, cl
mov ecx, dword [eax + 0x4c]
add edx, dword [ecx + 4]
mov ecx, eax
push edx
call fcn.005dd42c
test esi, esi
jg 0x5c278c
xor edx, edx
mov al, byte [ebp + 0x12d]
test al, al
je 0x5c2979
mov eax, dword [esp + 0x14]
mov byte [ebp + 0x12d], 0
mov eax, dword [eax + 0xc]
cmp eax, 0x2b11
mov dword [esp + 0x78], 2
mov dword [esp + 0x7c], edx
mov word [esp + 0x82], dx
mov word [esp + 0x80], dx
mov dword [esp + 0x84], eax
jl 0x5c2944
mov dword [esp + 0x84], 0x2b11
mov ecx, 0x8000
mov word [esp + 0x8a], cx
mov word [esp + 0x88], cx
cmp dword [esp + 0x18], edx
je 0x5c2979
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x78]
push ecx
push 0
push eax
mov eax, dword [edi]
push edx
push eax
call fcn.005c23dc
add esp, 0x14
xor edx, edx
mov ecx, dword [ebp + 0x94]
cmp ecx, edx
je 0x5c2c9b
call fcn.005dda8c
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x5c2c9b
mov eax, 1
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x164], eax
jmp 0x5c2c9b
cmp dword [ebp + 0x14c], edx
je 0x5c2b75
cmp esi, edx
mov ecx, dword [esp + 0x17c]
mov dword [ebp + ecx*4 + 0x9c], edx
jle 0x5c2c9b
mov esi, dword [ebp + 0x13c]
mov ecx, dword [ebp + 0x138]
mov eax, dword [esp + 0x20]
sub esi, ecx
cmp eax, esi
jge 0x5c29e4
mov esi, eax
mov eax, dword [esp + 0x10]
xor edi, edi
test esi, esi
mov dword [esp + 0x24], edi
jle 0x5c2a17
mov cl, byte [eax + 0x15]
test cl, cl
je 0x5c2a00
mov cl, byte [eax + 0x14]
test cl, cl
je 0x5c2a17
mov ecx, dword [ebp + 0x148]
mov edx, dword [ecx]
push esi
push ebx
call dword [edx + 4]
mov edi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], edi
mov ecx, dword [esp + 0x17c]
mov edx, dword [ebp + ecx*4 + 0x9c]
add edx, edi
cmp edi, esi
mov dword [ebp + ecx*4 + 0x9c], edx
jl 0x5c2a5a
test esi, esi
je 0x5c2a5a
test ebx, ebx
je 0x5c2a47
mov eax, esi
imul eax, dword [esp + 0x1c]
add ebx, eax
mov dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 0x138]
sub ecx, esi
add eax, esi
jmp 0x5c2b12
mov cl, byte [eax + 0x14]
test cl, cl
je 0x5c2ab1
mov edx, dword [ebp + 0x84]
dec edx
mov ecx, edx
test ecx, ecx
mov dword [ebp + 0x84], edx
jle 0x5c2b2d
mov edx, dword [ebp + 0x88]
mov ecx, dword [esp + 0x30]
sar edx, cl
mov ecx, dword [ebp + 0x148]
push 1
mov dword [ebp + 0x138], edx
mov edx, dword [esp + 0x14]
mov eax, dword [ecx]
push edx
call dword [eax]
mov edx, dword [ebp + 0x138]
mov ecx, dword [ebp + 0x148]
mov eax, dword [ecx]
push edx
push 0
call dword [eax + 4]
jmp 0x5c2b1c
test ebx, ebx
mov byte [eax + 0x15], 1
je 0x5c2b04
mov eax, dword [eax]
mov edx, dword [esp + 0x1c]
shr eax, 1
mov ecx, esi
sub ecx, edi
imul edi, edx
not eax
imul ecx, edx
and eax, 1
shl eax, 7
add edi, ebx
mov bl, al
mov bh, bl
mov edx, ecx
shr ecx, 2
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x34]
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x24]
mov eax, esi
imul eax, dword [esp + 0x1c]
add ebx, eax
mov dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 0x138]
sub ecx, esi
add eax, edi
mov dword [esp + 0x20], ecx
mov dword [ebp + 0x138], eax
mov eax, dword [esp + 0x20]
test eax, eax
jg 0x5c29cc
jmp 0x5c2c9b
test ebx, ebx
je 0x5c2b62
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
imul ecx, dword [esp + 0x1c]
shr eax, 1
not eax
and eax, 1
shl eax, 7
mov edi, ebx
mov bl, al
mov bh, bl
mov edx, ecx
shr ecx, 2
mov eax, ebx
shl eax, 0x10
mov ax, bx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, 1
mov dword [ebp + 0x164], eax
mov dword [ebp + 0x28], eax
jmp 0x5c2c9b
cmp esi, edx
jle 0x5c2c9b
mov edi, dword [ebp + 0x13c]
sub edi, dword [ebp + 0x138]
cmp esi, edi
jge 0x5c2b8f
mov edi, esi
test edi, edi
jg 0x5c2be1
mov ecx, dword [ebp + 0x84]
dec ecx
mov eax, ecx
test eax, eax
mov dword [ebp + 0x84], ecx
jle 0x5c2c45
mov eax, dword [ebp + 0x88]
mov ecx, dword [esp + 0x30]
sar eax, cl
mov ecx, dword [ebp + 0x148]
push 1
mov dword [ebp + 0x138], eax
mov eax, dword [esp + 0x14]
mov edx, dword [ecx]
push eax
call dword [edx]
mov eax, dword [ebp + 0x138]
mov ecx, dword [ebp + 0x148]
mov edx, dword [ecx]
push eax
push 0
call dword [edx + 4]
mov ecx, dword [ebp + 0x148]
mov edx, dword [ecx]
push edi
push ebx
call dword [edx + 4]
test ebx, ebx
je 0x5c2bfb
mov eax, edi
imul eax, dword [esp + 0x1c]
add ebx, eax
add dword [ebp + 0x138], edi
mov ecx, dword [ebp + 0x168]
sub esi, edi
test ecx, ecx
je 0x5c2c3b
push 1
call fcn.005d895c
test eax, eax
je 0x5c2c3b
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edi, dword [ebp + 0x138]
sar edx, 2
and edx, 3
mov ecx, dword [edx*4 + 0x5fb068]
shl edi, cl
mov ecx, eax
push edi
call fcn.005dd42c
test esi, esi
jg 0x5c2b7d
jmp 0x5c2c9b
mov eax, dword [ebp + 0x34]
test eax, eax
je 0x5c2c5d
mov ecx, dword [eax + 0x68]
test ecx, ecx
je 0x5c2c5d
mov dword [ebp + 0x164], 1
test ebx, ebx
je 0x5c2c94
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
shr eax, 1
not eax
and eax, 1
shl eax, 7
mov edi, ebx
mov bl, al
mov bh, bl
mov ecx, esi
imul ecx, dword [esp + 0x1c]
mov eax, ebx
shl eax, 0x10
mov edx, ecx
mov ax, bx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebp + 0x28], 1
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5c2d2c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
mov esi, dword [eax + 0xc]
mov edx, dword [esp + 0x18]
sar esi, cl
mov ecx, dword [esp + 0x1c]
lea edi, [esp + 0x4c]
dec esi
imul esi, ecx
mov ebx, ecx
shr ecx, 2
add esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x140]
test ecx, ecx
jne 0x5c2cfe
mov ecx, ebx
shr ecx, 2
mov esi, edx
lea edi, [ebp + 0x144]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp + 0x140], 1
mov ecx, dword [eax + 0x1cb8]
mov eax, dword [eax + 0xc]
lea esi, [ebp + 0x144]
push esi
push ecx
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx]
and ecx, 0xffffff0f
push ecx
push eax
push edx
call fcn.005c1c3c
mov ecx, dword [esp + 0x60]
add esp, 0x14
mov dword [esi], ecx
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
lea eax, [ebp + 0x3c]
jle 0x5c2d6f
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x5c2d62
mov edx, dword [ebp + 0x134]
push eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x1cb8]
push edx
mov edx, dword [esp + 0x20]
push ecx
push edx
push eax
call fcn.005c23dc
add esp, 0x14
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0xc]
add dword [ebp + 0x134], edx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5c2f36
mov ecx, dword [ebp + 0x150]
test ecx, ecx
je 0x5c2dfa
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x5c2f36
add eax, 0x828
mov edx, dword [eax]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
push ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x60], edx
push ecx
mov edx, ecx
push edx
mov dword [esp + 0x6c], eax
call fcn.005c14cc
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x1cb8]
lea edx, [esp + 0x5c]
push edx
mov edx, dword [ecx + 0xc]
push eax
sar eax, 2
and eax, 3
mov ecx, dword [eax*4 + 0x5fb068]
mov eax, dword [esp + 0x2c]
sar edx, cl
push edx
push eax
call fcn.005c15bc
add esp, 0x1c
jmp 0x5c2f36
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x5c2ed8
mov eax, dword [ecx + 0x2c]
mov esi, dword [eax + 0xd4]
mov edi, dword [ecx + 0x54]
mov edx, dword [ecx + 0x50]
mov ebx, dword [edx + 0xe0]
mov eax, 0x64
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x3c], eax
xor eax, eax
add esi, 0x828
cmp edi, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
jne 0x5c2e5c
call fcn.005dda8c
add eax, 0x34
push eax
lea ecx, [esp + 0x3c]
push ecx
mov edx, ecx
push edx
call fcn.005c14cc
add esp, 0xc
jmp 0x5c2e98
cmp edi, ebx
je 0x5c2e98
mov eax, dword [edi + 0x18]
mov eax, dword [eax + 0x78]
cmp eax, 0x62
je 0x5c2e75
cmp eax, 6
je 0x5c2e75
cmp eax, 0x61
jne 0x5c2e91
mov ecx, dword [edi + 0x20]
call fcn.005dda8c
add eax, 0x34
push eax
lea ecx, [esp + 0x3c]
push ecx
mov edx, ecx
push edx
call fcn.005c14cc
add esp, 0xc
mov edi, dword [edi + 8]
test edi, edi
jne 0x5c2e5c
lea eax, [esp + 0x38]
push esi
push eax
mov ecx, eax
push ecx
call fcn.005c14cc
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x1cb8]
lea edx, [esp + 0x44]
push edx
mov edx, dword [ecx + 0xc]
push eax
sar eax, 2
and eax, 3
mov ecx, dword [eax*4 + 0x5fb068]
mov eax, dword [esp + 0x2c]
sar edx, cl
push edx
push eax
call fcn.005c15bc
add esp, 0x1c
jmp 0x5c2f36
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x5c2f36
add eax, 0x828
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x64], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x68], edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x74], eax
mov eax, dword [ecx + 0x1cb8]
lea edx, [esp + 0x64]
push edx
mov edx, dword [ecx + 0xc]
push eax
sar eax, 2
and eax, 3
mov ecx, dword [eax*4 + 0x5fb068]
mov eax, dword [esp + 0x20]
sar edx, cl
push edx
push eax
call fcn.005c15bc
add esp, 0x10
mov eax, dword [ebp + 0x158]
test eax, eax
je 0x5c3004
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x1cb8]
mov eax, edx
shr eax, 1
not eax
test al, 1
jne 0x5c3004
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
mov ecx, edx
sar ecx, 2
and ecx, 3
mov ecx, dword [ecx*4 + 0x5fb068]
sar eax, cl
mov ebx, 0x7fff
mov edi, 0xffff8000
xor ecx, ecx
test dl, 1
mov dword [esp + 0x10], ebx
mov esi, edi
jne 0x5c2fb3
movsx edx, ax
test edx, edx
jle 0x5c2ff0
mov eax, dword [esp + 0x18]
movsx eax, word [eax + ecx*2]
cmp ebx, eax
jl 0x5c2fa0
mov ebx, eax
cmp edi, eax
mov dword [esp + 0x10], ebx
jg 0x5c2faa
mov edi, eax
inc ecx
cmp ecx, edx
mov esi, edi
jl 0x5c2f92
jmp 0x5c2ff0
movsx eax, ax
test eax, eax
mov dword [esp + 0x24], eax
jle 0x5c2ff0
mov edx, dword [esp + 0x18]
movsx eax, word [edx + ecx*4]
cmp ebx, eax
jl 0x5c2fcc
mov ebx, eax
cmp edi, eax
jg 0x5c2fd2
mov edi, eax
movsx eax, word [edx + ecx*4 + 2]
cmp dword [esp + 0x10], eax
jl 0x5c2fe1
mov dword [esp + 0x10], eax
cmp esi, eax
jg 0x5c2fe7
mov esi, eax
mov eax, dword [esp + 0x24]
inc ecx
cmp ecx, eax
jl 0x5c2fbe
mov eax, dword [esp + 0x10]
sub edi, ebx
sub esi, eax
mov dword [ebp + 0x15c], edi
mov dword [ebp + 0x160], esi
mov ebp, dword [ebp + 0x20]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x28]
xor edi, edi
cmp ebp, edi
jne 0x5c26ac
cmp dword [esp + 0x2c], edi
je 0x5c3024
inc dword [edx + 8]
jmp 0x5c3027
mov dword [edx + 8], edi
mov eax, dword [edx + 0x1cb8]
mov ecx, eax
shr ecx, 1
not ecx
test cl, 1
mov ecx, dword [esp + 0x17c]
je 0x5c31d5
cmp esi, edi
mov ebx, dword [edx + ecx*4 + 0x28]
jne 0x5c3068
mov ecx, dword [edx + 0x24]
mov edx, ecx
shr ecx, 2
mov eax, 0x80808080
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x5c3446
cmp esi, 1
jne 0x5c3090
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x24]
mov esi, dword [esp + 0xf8]
mov edx, ecx
shr ecx, 2
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x5c3446
cmp esi, 2
jne 0x5c30e6
test al, 1
mov ecx, dword [esp + 0xf8]
mov edx, dword [edx + 0x20]
je 0x5c30a5
add edx, edx
cmp edx, edi
je 0x5c3446
mov esi, dword [esp + 0xfc]
sub esi, ecx
mov edi, edx
lea esp, [esp]
movzx eax, byte [esi + ecx]
movzx edx, byte [ecx]
lea eax, [eax + edx - 0x80]
inc ecx
test eax, 0xffff00
je 0x5c30db
test eax, eax
setl al
dec al
and eax, 0xff
mov byte [ebx], al
inc ebx
dec edi
jne 0x5c30bc
jmp 0x5c3446
test al, 1
mov ecx, dword [esp + 0x28]
lea esi, [esp + 0xf8]
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx + 0x20]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], edi
je 0x5c3110
add edi, edi
mov dword [esp + 0x10], edi
test edi, edi
jle 0x5c3446
jmp 0x5c311e
mov edi, dword [esp + 0x10]
cmp edi, 0x400
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x78]
jl 0x5c3135
mov edi, 0x400
jmp 0x5c3139
test edi, edi
jle 0x5c3154
mov eax, dword [esp + 0x14]
add eax, 0x130
mov ecx, edi
movzx esi, byte [edx]
mov dword [eax], esi
inc edx
add eax, 4
dec ecx
jne 0x5c3144
mov dword [esp + 0x78], edx
cmp ebp, 1
jle 0x5c3187
lea esi, [esp + 0x7c]
dec ebp
test edi, edi
jle 0x5c3181
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
add eax, 0x130
mov edx, edi
movzx ebx, byte [ecx]
add dword [eax], ebx
inc ecx
add eax, 4
dec edx
jne 0x5c316f
mov ebx, dword [esp + 0x24]
mov dword [esi], ecx
add esi, 4
dec ebp
jne 0x5c315e
test edi, edi
jle 0x5c31be
mov ecx, dword [esp + 0x14]
add ecx, 0x130
mov edx, edi
jmp 0x5c319c
mov eax, dword [ecx]
test eax, 0xffff00
je 0x5c31b1
test eax, eax
setl al
dec al
and eax, 0xff
mov byte [ebx], al
inc ebx
add ecx, 4
dec edx
jne 0x5c319c
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x10]
sub eax, edi
test eax, eax
mov dword [esp + 0x10], eax
jg 0x5c311a
jmp 0x5c3446
cmp esi, edi
mov ebp, dword [edx + ecx*4 + 0x28]
mov dword [esp + 0x2c], ebp
jne 0x5c321c
mov ecx, dword [edx + 0x24]
mov esi, ecx
shr ecx, 2
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov al, byte [edx + 0x1130]
test al, al
je 0x5c3446
mov edi, dword [esp + 0x14]
xor eax, eax
mov ecx, 0x200
add edi, 0x1132
rep stosd dword es:[edi], eax
jmp 0x5c3446
cmp esi, 1
jne 0x5c3244
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x24]
mov esi, dword [esp + 0xf8]
mov eax, ecx
shr ecx, 2
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x5c33a6
cmp esi, 2
jne 0x5c32a8
test al, 1
mov esi, dword [esp + 0xf8]
mov edx, dword [edx + 0x20]
mov ecx, ebp
je 0x5c325b
add edx, edx
cmp edx, edi
je 0x5c33a6
mov edi, dword [esp + 0xfc]
sub edi, esi
mov ebp, edx
movsx edx, word [esi]
movsx eax, word [esi + edi]
add eax, edx
movsx edx, ax
add esi, 2
cmp edx, eax
je 0x5c329a
xor edx, edx
test eax, eax
setge dl
dec edx
and edx, 0xffff0001
add edx, 0x7fff
mov word [ecx], dx
jmp 0x5c329d
mov word [ecx], ax
add ecx, 2
dec ebp
jne 0x5c326e
jmp 0x5c33a6
test al, 1
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
lea esi, [esp + 0xf8]
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [edx + 0x20]
mov dword [esp + 0x10], ecx
je 0x5c32ce
add ecx, ecx
mov dword [esp + 0x10], ecx
test ecx, ecx
jle 0x5c33a6
mov ebx, dword [esp + 0x78]
mov edi, edi
mov edi, dword [esp + 0x10]
cmp edi, 0x400
jl 0x5c32ef
mov edi, 0x400
jmp 0x5c32f3
test edi, edi
jle 0x5c330e
lea eax, [edx + 0x130]
mov ecx, edi
nop
movsx esi, word [ebx]
mov dword [eax], esi
add ebx, 2
add eax, 4
dec ecx
jne 0x5c32fc
mov dword [esp + 0x78], ebx
mov eax, dword [esp + 0x28]
cmp eax, 1
jle 0x5c3354
dec eax
lea esi, [esp + 0x7c]
mov dword [esp + 0x24], eax
test edi, edi
jle 0x5c3346
mov ecx, dword [esi]
lea eax, [edx + 0x130]
mov edx, edi
movsx ebx, word [ecx]
add dword [eax], ebx
add ecx, 2
add eax, 4
dec edx
jne 0x5c332e
mov edx, dword [esp + 0x14]
mov dword [esi], ecx
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0x24]
add esi, 4
dec eax
mov dword [esp + 0x24], eax
jne 0x5c3320
test edi, edi
jle 0x5c3394
lea ecx, [edx + 0x130]
mov esi, edi
mov eax, dword [ecx]
movsx ebx, ax
cmp ebx, eax
je 0x5c3383
xor ebx, ebx
test eax, eax
setge bl
dec ebx
and ebx, 0xffff0001
add ebx, 0x7fff
mov word [ebp], bx
jmp 0x5c3387
mov word [ebp], ax
add ebp, 2
add ecx, 4
dec esi
jne 0x5c3360
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0x10]
sub eax, edi
test eax, eax
mov dword [esp + 0x10], eax
jg 0x5c32dc
mov ecx, dword [esp + 0x14]
mov al, byte [ecx + 0x1130]
test al, al
je 0x5c3446
test byte [ecx + 0x1cb8], 1
mov esi, dword [ecx + 0x20]
mov ebx, dword [esp + 0x2c]
je 0x5c340e
lea edi, [esi + esi]
xor esi, esi
xor eax, eax
mov edx, eax
shr edx, 1
cmp eax, edi
jge 0x5c33f2
mov bp, word [ebx + eax*2]
mov word [ecx + edx*2 + 0x1132], bp
mov bp, word [ebx + eax*2 + 2]
mov word [ecx + edx*2 + 0x1532], bp
jmp 0x5c3402
mov word [ecx + edx*2 + 0x1132], si
mov word [ecx + edx*2 + 0x1532], si
add eax, 2
cmp eax, 0x400
jl 0x5c33cf
jmp 0x5c3446
xor edi, edi
xor edx, edx
lea eax, [ecx + 0x1132]
lea esp, [esp]
cmp edx, esi
jge 0x5c3430
mov cx, word [ebx + edx*2]
mov word [eax + 0x400], cx
mov word [eax], cx
jmp 0x5c343a
mov word [eax + 0x400], di
mov word [eax], di
inc edx
add eax, 2
cmp edx, 0x200
jl 0x5c341c
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword [ecx + 0xac], 0
pop ebx
add esp, 0x168
ret 4