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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffea8
mov ebx, eax
mov dword [esp], edx
mov al, byte [ebx + 0xe5]
mov byte [esp + 0x14], al
movzx esi, byte [ebx + 0x1b9]
mov eax, dword [esp]
mov edx, dword [esp]
movzx eax, byte [eax + 0xb]
add eax, 7
mov ebp, dword [edx + 4]
test eax, eax
jns 0x5cde17
add eax, 7
sar eax, 3
mov edx, dword [ebx + 0xa8]
mov dword [esp + 4], edx
mov ecx, dword [ebx + 0xac]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ecx
mov dword [esp + 0x10], 0x7fffffff
test byte [esp + 0x14], 8
je 0x5cdf77
mov dl, byte [esp + 0x14]
cmp dl, 8
je 0x5cdf77
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0xc]
inc edx
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x20]
cmp ebp, ecx
jbe 0x5cdeac
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov cl, byte [edx]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x24]
cmp edx, 0x80
jge 0x5cde8d
mov ecx, dword [esp + 0x24]
jmp 0x5cde98
mov ecx, pe_nt_image_headers32
mov edx, dword [esp + 0x24]
sub ecx, edx
add dword [esp + 0x1c], ecx
inc dword [esp + 0x20]
inc dword [esp + 0x18]
mov edx, dword [esp + 0x20]
cmp ebp, edx
ja 0x5cde6f
mov cl, byte [ebx + 0x1b8]
cmp cl, 2
jne 0x5cdf6f
mov edx, dword [esp + 0x1c]
and edx, 0xffff
mov dword [esp + 0x2c], edx
xor edx, edx
mov ecx, dword [esp + 0x1c]
shr ecx, 0xa
and ecx, 0x3fffc0
cmp esi, edx
mov dword [esp + 0x28], ecx
jle 0x5cdf1e
mov ecx, dword [ebx + 0x1bc]
mov cl, byte [ecx + edx]
test cl, cl
jne 0x5cdf19
mov ecx, dword [ebx + 0x1c0]
movzx ecx, word [ecx + edx*2]
imul ecx, dword [esp + 0x2c]
shr ecx, 8
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx + 0x1c0]
movzx ecx, word [ecx + edx*2]
imul ecx, dword [esp + 0x28]
shr ecx, 8
mov dword [esp + 0x28], ecx
inc edx
cmp esi, edx
jg 0x5cdee0
mov edx, dword [ebx + 0x1c8]
movzx edx, word [edx]
imul edx, dword [esp + 0x2c]
shr edx, 3
mov dword [esp + 0x2c], edx
mov ecx, dword [ebx + 0x1c8]
movzx edx, word [ecx]
imul edx, dword [esp + 0x28]
shr edx, 3
mov dword [esp + 0x28], edx
mov ecx, dword [esp + 0x28]
cmp ecx, 0x3fffc0
jbe 0x5cdf5e
mov dword [esp + 0x1c], 0x7fffffff
jmp 0x5cdf6f
mov edx, dword [esp + 0x28]
shl edx, 0xa
mov ecx, dword [esp + 0x2c]
add edx, ecx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], edx
mov cl, byte [esp + 0x14]
cmp cl, 0x10
jne 0x5ce015
xor edx, edx
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0x30], ecx
mov edx, dword [ebx + 0xb0]
inc edx
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jbe 0x5cdfc6
mov edx, dword [esp + 0x30]
mov cl, byte [edx]
mov edx, dword [esp + 0x38]
mov byte [edx], cl
inc dword [esp + 0x3c]
inc dword [esp + 0x30]
inc dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
ja 0x5cdfa6
mov edx, dword [esp + 0xc]
inc edx
mov dword [esp + 0x34], edx
mov ecx, dword [esp + 0x3c]
cmp ebp, ecx
jbe 0x5ce006
mov edx, dword [esp + 0x30]
mov cl, byte [edx]
mov edx, dword [esp + 0x34]
mov dl, byte [edx]
sub cl, dl
mov edx, dword [esp + 0x38]
and cl, 0xff
mov byte [edx], cl
inc dword [esp + 0x3c]
inc dword [esp + 0x30]
inc dword [esp + 0x34]
inc dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
cmp ebp, ecx
ja 0x5cdfd7
mov edx, dword [ebx + 0xb0]
mov dword [esp + 8], edx
jmp 0x5ce298
test byte [esp + 0x14], 0x10
je 0x5ce298
xor edx, edx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], ecx
mov cl, byte [ebx + 0x1b8]
cmp cl, 2
jne 0x5ce10b
mov ecx, dword [esp + 0x4c]
and ecx, 0xffff
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x4c]
shr ecx, 0xa
and ecx, 0x3fffc0
mov dword [esp + 0x58], ecx
xor ecx, ecx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x54]
cmp esi, ecx
jle 0x5ce0b8
mov ecx, dword [ebx + 0x1bc]
mov edi, dword [esp + 0x54]
mov cl, byte [ecx + edi]
cmp cl, 1
jne 0x5ce0ac
mov ecx, dword [ebx + 0x1c4]
mov edi, dword [esp + 0x54]
movzx ecx, word [ecx + edi*2]
imul ecx, dword [esp + 0x5c]
shr ecx, 8
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebx + 0x1c4]
mov edi, dword [esp + 0x54]
movzx ecx, word [ecx + edi*2]
imul ecx, dword [esp + 0x58]
shr ecx, 8
mov dword [esp + 0x58], ecx
inc dword [esp + 0x54]
mov ecx, dword [esp + 0x54]
cmp esi, ecx
jg 0x5ce066
mov ecx, dword [ebx + 0x1cc]
movzx ecx, word [ecx + 2]
imul ecx, dword [esp + 0x5c]
shr ecx, 3
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebx + 0x1cc]
movzx ecx, word [ecx + 2]
imul ecx, dword [esp + 0x58]
shr ecx, 3
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x58]
cmp ecx, 0x3fffc0
jbe 0x5ce0fa
mov dword [esp + 0x4c], 0x7fffffff
jmp 0x5ce10b
mov ecx, dword [esp + 0x58]
shl ecx, 0xa
mov edi, dword [esp + 0x5c]
add ecx, edi
mov dword [esp + 0x4c], ecx
xor ecx, ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0x40], ecx
mov ecx, dword [ebx + 0xb0]
inc ecx
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x50]
cmp eax, ecx
jbe 0x5ce168
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
mov cl, byte [ecx]
mov byte [edi], cl
and ecx, 0xff
cmp ecx, 0x80
jge 0x5ce14b
mov edi, ecx
jmp 0x5ce152
mov edi, pe_nt_image_headers32
sub edi, ecx
add edx, edi
inc dword [esp + 0x50]
inc dword [esp + 0x40]
inc dword [esp + 0x44]
mov ecx, dword [esp + 0x50]
cmp eax, ecx
ja 0x5ce12d
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0x48], ecx
jmp 0x5ce1bb
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x48]
mov cl, byte [ecx]
sub cl, byte [edi]
mov edi, dword [esp + 0x44]
and cl, 0xff
mov byte [edi], cl
and ecx, 0xff
cmp ecx, 0x80
jge 0x5ce19a
mov edi, ecx
jmp 0x5ce1a1
mov edi, pe_nt_image_headers32
sub edi, ecx
add edx, edi
mov ecx, dword [esp + 0x4c]
cmp edx, ecx
ja 0x5ce1c9
inc dword [esp + 0x50]
inc dword [esp + 0x40]
inc dword [esp + 0x48]
inc dword [esp + 0x44]
mov ecx, dword [esp]
mov ecx, dword [ecx + 4]
mov edi, dword [esp + 0x50]
cmp ecx, edi
ja 0x5ce173
mov cl, byte [ebx + 0x1b8]
cmp cl, 2
jne 0x5ce282
mov ecx, edx
shr edx, 0xa
and ecx, 0xffff
and edx, 0x3fffc0
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], edx
xor edx, edx
cmp esi, edx
jle 0x5ce236
mov ecx, dword [ebx + 0x1bc]
mov cl, byte [ecx + edx]
cmp cl, 1
jne 0x5ce231
mov ecx, dword [ebx + 0x1c4]
movzx ecx, word [ecx + edx*2]
imul ecx, dword [esp + 0x64]
shr ecx, 8
mov dword [esp + 0x64], ecx
mov ecx, dword [ebx + 0x1c4]
movzx ecx, word [ecx + edx*2]
imul ecx, dword [esp + 0x60]
shr ecx, 8
mov dword [esp + 0x60], ecx
inc edx
cmp esi, edx
jg 0x5ce1f7
mov edx, dword [ebx + 0x1cc]
movzx edx, word [edx + 2]
imul edx, dword [esp + 0x64]
shr edx, 3
mov dword [esp + 0x64], edx
mov ecx, dword [ebx + 0x1cc]
movzx edx, word [ecx + 2]
imul edx, dword [esp + 0x60]
shr edx, 3
mov dword [esp + 0x60], edx
mov ecx, dword [esp + 0x60]
cmp ecx, 0x3fffc0
jbe 0x5ce275
mov edx, 0x7fffffff
jmp 0x5ce282
mov edx, dword [esp + 0x60]
shl edx, 0xa
mov ecx, dword [esp + 0x64]
add edx, ecx
mov ecx, dword [esp + 0x10]
cmp edx, ecx
jae 0x5ce298
mov dword [esp + 0x10], edx
mov edx, dword [ebx + 0xb0]
mov dword [esp + 8], edx
mov dl, byte [esp + 0x14]
cmp dl, 0x20
jne 0x5ce30a
xor ecx, ecx
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0xc]
inc edx
mov dword [esp + 0x68], edx
mov ecx, dword [ebx + 0xb4]
inc ecx
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 4]
inc edx
mov dword [esp + 0x70], edx
mov ecx, dword [esp + 0x74]
cmp ebp, ecx
jbe 0x5ce2fb
mov edx, dword [esp + 0x68]
mov cl, byte [edx]
mov edx, dword [esp + 0x70]
mov dl, byte [edx]
sub cl, dl
mov edx, dword [esp + 0x6c]
and cl, 0xff
mov byte [edx], cl
inc dword [esp + 0x74]
inc dword [esp + 0x68]
inc dword [esp + 0x70]
inc dword [esp + 0x6c]
mov ecx, dword [esp + 0x74]
cmp ebp, ecx
ja 0x5ce2cc
mov edx, dword [ebx + 0xb4]
mov dword [esp + 8], edx
jmp 0x5ce602
test byte [esp + 0x14], 0x20
je 0x5ce602
xor ecx, ecx
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x88], edx
mov cl, byte [ebx + 0x1b8]
cmp cl, 2
jne 0x5ce422
mov edx, dword [esp + 0x88]
and edx, 0xffff
mov dword [esp + 0x98], edx
xor edx, edx
mov ecx, dword [esp + 0x88]
shr ecx, 0xa
and ecx, 0x3fffc0
cmp esi, edx
mov dword [esp + 0x94], ecx
jle 0x5ce3b4
mov ecx, dword [ebx + 0x1bc]
mov cl, byte [ecx + edx]
cmp cl, 2
jne 0x5ce3af
mov ecx, dword [ebx + 0x1c4]
movzx ecx, word [ecx + edx*2]
imul ecx, dword [esp + 0x98]
shr ecx, 8
mov dword [esp + 0x98], ecx
mov ecx, dword [ebx + 0x1c4]
movzx ecx, word [ecx + edx*2]
imul ecx, dword [esp + 0x94]
shr ecx, 8
mov dword [esp + 0x94], ecx
inc edx
cmp esi, edx
jg 0x5ce369
mov edx, dword [ebx + 0x1cc]
movzx edx, word [edx + 4]
imul edx, dword [esp + 0x98]
shr edx, 3
mov dword [esp + 0x98], edx
mov ecx, dword [ebx + 0x1cc]
movzx edx, word [ecx + 4]
imul edx, dword [esp + 0x94]
shr edx, 3
mov dword [esp + 0x94], edx
mov ecx, dword [esp + 0x94]
cmp ecx, 0x3fffc0
jbe 0x5ce408
mov dword [esp + 0x88], 0x7fffffff
jmp 0x5ce422
mov edx, dword [esp + 0x94]
shl edx, 0xa
mov ecx, dword [esp + 0x98]
add edx, ecx
mov dword [esp + 0x88], edx
xor edx, edx
mov dword [esp + 0x8c], edx
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0x78], ecx
mov edx, dword [ebx + 0xb4]
inc edx
mov dword [esp + 0x7c], edx
mov ecx, dword [esp + 4]
inc ecx
mov dword [esp + 0x80], ecx
mov edx, dword [esp + 0x8c]
cmp ebp, edx
jbe 0x5ce4e5
mov ecx, dword [esp + 0x78]
mov dl, byte [ecx]
mov ecx, dword [esp + 0x80]
mov cl, byte [ecx]
sub dl, cl
mov ecx, dword [esp + 0x7c]
and dl, 0xff
mov byte [ecx], dl
and edx, 0xff
mov dword [esp + 0x90], edx
inc dword [esp + 0x80]
inc dword [esp + 0x78]
inc dword [esp + 0x7c]
mov ecx, dword [esp + 0x90]
cmp ecx, 0x80
jge 0x5ce4a8
mov edx, dword [esp + 0x90]
jmp 0x5ce4b6
mov edx, pe_nt_image_headers32
mov ecx, dword [esp + 0x90]
sub edx, ecx
add dword [esp + 0x84], edx
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
cmp edx, ecx
ja 0x5ce4e5
inc dword [esp + 0x8c]
mov edx, dword [esp + 0x8c]
cmp ebp, edx
ja 0x5ce45a
mov cl, byte [ebx + 0x1b8]
cmp cl, 2
jne 0x5ce5de
mov edx, dword [esp + 0x84]
and edx, 0xffff
mov dword [esp + 0xa0], edx
xor edx, edx
mov ecx, dword [esp + 0x84]
shr ecx, 0xa
and ecx, 0x3fffc0
cmp esi, edx
mov dword [esp + 0x9c], ecx
jle 0x5ce570
mov ecx, dword [ebx + 0x1bc]
mov cl, byte [ecx + edx]
cmp cl, 2
jne 0x5ce56b
mov ecx, dword [ebx + 0x1c0]
movzx ecx, word [ecx + edx*2]
imul ecx, dword [esp + 0xa0]
shr ecx, 8
mov dword [esp + 0xa0], ecx
mov ecx, dword [ebx + 0x1c0]
movzx ecx, word [ecx + edx*2]
imul ecx, dword [esp + 0x9c]
shr ecx, 8
mov dword [esp + 0x9c], ecx
inc edx
cmp esi, edx
jg 0x5ce525
mov edx, dword [ebx + 0x1c8]
movzx edx, word [edx + 4]
imul edx, dword [esp + 0xa0]
shr edx, 3
mov dword [esp + 0xa0], edx
mov ecx, dword [ebx + 0x1c8]
movzx edx, word [ecx + 4]
imul edx, dword [esp + 0x9c]
shr edx, 3
mov dword [esp + 0x9c], edx
mov ecx, dword [esp + 0x9c]
cmp ecx, 0x3fffc0
jbe 0x5ce5c4
mov dword [esp + 0x84], 0x7fffffff
jmp 0x5ce5de
mov edx, dword [esp + 0x9c]
shl edx, 0xa
mov ecx, dword [esp + 0xa0]
add edx, ecx
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x10]
cmp edx, ecx
jae 0x5ce602
mov edx, dword [esp + 0x84]
mov dword [esp + 0x10], edx
mov ecx, dword [ebx + 0xb4]
mov dword [esp + 8], ecx
mov dl, byte [esp + 0x14]
cmp dl, 0x40
jne 0x5ce722
xor ecx, ecx
mov dword [esp + 0xb4], ecx
mov edx, dword [esp + 0xc]
inc edx
mov dword [esp + 0xa4], edx
mov ecx, dword [ebx + 0xb8]
inc ecx
mov dword [esp + 0xa8], ecx
mov edx, dword [esp + 4]
inc edx
mov dword [esp + 0xac], edx
mov ecx, dword [esp + 0xb4]
cmp eax, ecx
jbe 0x5ce699
mov edx, dword [esp + 0xac]
xor ecx, ecx
mov cl, byte [edx]
sar ecx, 1
jns 0x5ce65b
adc ecx, 0
mov edx, dword [esp + 0xa4]
mov dl, byte [edx]
sub dl, cl
mov ecx, dword [esp + 0xa8]
and dl, 0xff
mov byte [ecx], dl
inc dword [esp + 0xac]
inc dword [esp + 0xa4]
inc dword [esp + 0xa8]
inc dword [esp + 0xb4]
mov edx, dword [esp + 0xb4]
cmp eax, edx
ja 0x5ce649
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0xb0], ecx
mov edx, dword [esp + 0xb4]
cmp ebp, edx
jbe 0x5ce713
mov ecx, dword [esp + 0xac]
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [esp + 0xb0]
movzx ecx, byte [ecx]
add edx, ecx
sar edx, 1
jns 0x5ce6ce
adc edx, 0
mov ecx, dword [esp + 0xa4]
mov cl, byte [ecx]
sub cl, dl
mov edx, dword [esp + 0xa8]
and cl, 0xff
mov byte [edx], cl
inc dword [esp + 0xb0]
inc dword [esp + 0xac]
inc dword [esp + 0xa4]
inc dword [esp + 0xa8]
inc dword [esp + 0xb4]
mov edx, dword [esp + 0xb4]
cmp ebp, edx
ja 0x5ce6b0
mov ecx, dword [ebx + 0xb8]
mov dword [esp + 8], ecx
jmp 0x5ceaa5
test byte [esp + 0x14], 0x40
je 0x5ceaa5
xor edi, edi
mov edx, dword [esp + 0x10]
mov dword [esp + 0xc8], edx
mov cl, byte [ebx + 0x1b8]
cmp cl, 2
jne 0x5ce863
mov edx, dword [esp + 0xc8]
and edx, 0xffff
mov dword [esp + 0xd8], edx
xor edx, edx
mov ecx, dword [esp + 0xc8]
shr ecx, 0xa
and ecx, 0x3fffc0
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd0], edx
mov ecx, dword [esp + 0xd0]
cmp esi, ecx
jle 0x5ce7f5
mov edx, dword [ebx + 0x1bc]
mov ecx, dword [esp + 0xd0]
mov dl, byte [edx + ecx]
cmp dl, 3
jne 0x5ce7e3
mov ecx, dword [ebx + 0x1c4]
mov edx, dword [esp + 0xd0]
movzx ecx, word [ecx + edx*2]
imul ecx, dword [esp + 0xd8]
shr ecx, 8
mov dword [esp + 0xd8], ecx
mov edx, dword [ebx + 0x1c4]
mov ecx, dword [esp + 0xd0]
movzx edx, word [edx + ecx*2]
imul edx, dword [esp + 0xd4]
shr edx, 8
mov dword [esp + 0xd4], edx
inc dword [esp + 0xd0]
mov ecx, dword [esp + 0xd0]
cmp esi, ecx
jg 0x5ce788
mov edx, dword [ebx + 0x1cc]
movzx ecx, word [edx + 6]
imul ecx, dword [esp + 0xd8]
shr ecx, 3
mov dword [esp + 0xd8], ecx
mov edx, dword [ebx + 0x1cc]
movzx ecx, word [edx + 6]
imul ecx, dword [esp + 0xd4]
shr ecx, 3
mov dword [esp + 0xd4], ecx
mov edx, dword [esp + 0xd4]
cmp edx, 0x3fffc0
jbe 0x5ce849
mov dword [esp + 0xc8], 0x7fffffff
jmp 0x5ce863
mov ecx, dword [esp + 0xd4]
shl ecx, 0xa
mov edx, dword [esp + 0xd8]
add ecx, edx
mov dword [esp + 0xc8], ecx
xor ecx, ecx
mov dword [esp + 0xcc], ecx
mov edx, dword [esp + 0xc]
inc edx
mov dword [esp + 0xb8], edx
mov ecx, dword [ebx + 0xb8]
inc ecx
mov dword [esp + 0xbc], ecx
mov edx, dword [esp + 4]
inc edx
mov dword [esp + 0xc0], edx
mov ecx, dword [esp + 0xcc]
cmp eax, ecx
jbe 0x5ce908
mov edx, dword [esp + 0xc0]
xor ecx, ecx
mov cl, byte [edx]
sar ecx, 1
jns 0x5ce8af
adc ecx, 0
mov edx, dword [esp + 0xb8]
mov dl, byte [edx]
sub dl, cl
mov ecx, dword [esp + 0xbc]
and dl, 0xff
mov byte [ecx], dl
and edx, 0xff
inc dword [esp + 0xc0]
inc dword [esp + 0xb8]
inc dword [esp + 0xbc]
cmp edx, 0x80
jge 0x5ce8ed
mov ecx, edx
jmp 0x5ce8f4
mov ecx, pe_nt_image_headers32
sub ecx, edx
add edi, ecx
inc dword [esp + 0xcc]
mov edx, dword [esp + 0xcc]
cmp eax, edx
ja 0x5ce89d
mov edx, dword [esp + 0xc]
inc edx
mov dword [esp + 0xc4], edx
mov ecx, dword [esp + 0xcc]
cmp ebp, ecx
jbe 0x5ce9b0
mov edx, dword [esp + 0xc0]
xor ecx, ecx
mov cl, byte [edx]
mov edx, dword [esp + 0xc4]
movzx edx, byte [edx]
add ecx, edx
sar ecx, 1
jns 0x5ce941
adc ecx, 0
mov edx, dword [esp + 0xb8]
mov dl, byte [edx]
sub dl, cl
mov ecx, dword [esp + 0xbc]
and dl, 0xff
mov byte [ecx], dl
and edx, 0xff
inc dword [esp + 0xc4]
inc dword [esp + 0xc0]
inc dword [esp + 0xb8]
inc dword [esp + 0xbc]
cmp edx, 0x80
jge 0x5ce986
mov ecx, edx
jmp 0x5ce98d
mov ecx, pe_nt_image_headers32
sub ecx, edx
add edi, ecx
mov edx, dword [esp + 0xc8]
cmp edi, edx
ja 0x5ce9b0
inc dword [esp + 0xcc]
mov edx, dword [esp + 0xcc]
cmp ebp, edx
ja 0x5ce923
mov cl, byte [ebx + 0x1b8]
cmp cl, 2
jne 0x5cea8f
mov edx, edi
and edx, 0xffff
shr edi, 0xa
mov dword [esp + 0xe0], edx
and edi, 0x3fffc0
xor edx, edx
cmp esi, edx
mov dword [esp + 0xdc], edi
jle 0x5cea2e
mov ecx, dword [ebx + 0x1bc]
mov cl, byte [ecx + edx]
test cl, cl
jne 0x5cea29
mov ecx, dword [ebx + 0x1c0]
movzx ecx, word [ecx + edx*2]
imul ecx, dword [esp + 0xe0]
shr ecx, 8
mov dword [esp + 0xe0], ecx
mov ecx, dword [ebx + 0x1c0]
movzx ecx, word [ecx + edx*2]
imul ecx, dword [esp + 0xdc]
shr ecx, 8
mov dword [esp + 0xdc], ecx
inc edx
cmp esi, edx
jg 0x5ce9e4
mov edx, dword [ebx + 0x1c8]
movzx edx, word [edx + 6]
imul edx, dword [esp + 0xe0]
shr edx, 3
mov dword [esp + 0xe0], edx
mov ecx, dword [ebx + 0x1c8]
movzx edx, word [ecx + 6]
imul edx, dword [esp + 0xdc]
shr edx, 3
mov dword [esp + 0xdc], edx
mov ecx, dword [esp + 0xdc]
cmp ecx, 0x3fffc0
jbe 0x5cea7c
mov edi, 0x7fffffff
jmp 0x5cea8f
mov edi, dword [esp + 0xdc]
shl edi, 0xa
mov edx, dword [esp + 0xe0]
add edi, edx
mov ecx, dword [esp + 0x10]
cmp edi, ecx
jae 0x5ceaa5
mov dword [esp + 0x10], edi
mov edx, dword [ebx + 0xb8]
mov dword [esp + 8], edx
mov cl, byte [esp + 0x14]
cmp cl, 0x80
jne 0x5cec89
xor edx, edx
mov dword [esp + 0xf8], edx
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0xe4], ecx
mov edx, dword [ebx + 0xbc]
inc edx
mov dword [esp + 0xe8], edx
mov ecx, dword [esp + 4]
inc ecx
mov dword [esp + 0xec], ecx
mov edx, dword [esp + 0xf8]
cmp eax, edx
jbe 0x5ceb33
mov ecx, dword [esp + 0xe4]
mov dl, byte [ecx]
mov ecx, dword [esp + 0xec]
mov cl, byte [ecx]
sub dl, cl
mov ecx, dword [esp + 0xe8]
and dl, 0xff
mov byte [ecx], dl
inc dword [esp + 0xec]
inc dword [esp + 0xe4]
inc dword [esp + 0xe8]
inc dword [esp + 0xf8]
mov edx, dword [esp + 0xf8]
cmp eax, edx
ja 0x5ceaec
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 4]
inc eax
mov dword [esp + 0xf0], eax
mov edx, dword [esp + 0xf8]
cmp ebp, edx
jbe 0x5cec7a
mov ecx, dword [esp + 0xec]
xor eax, eax
mov al, byte [ecx]
mov dword [esp + 0x100], eax
inc dword [esp + 0xec]
mov edx, dword [esp + 0xf0]
xor ecx, ecx
mov cl, byte [edx]
mov dword [esp + 0x104], ecx
inc dword [esp + 0xf0]
mov eax, dword [esp + 0xf4]
xor edx, edx
mov dl, byte [eax]
mov dword [esp + 0xfc], edx
inc dword [esp + 0xf4]
mov eax, dword [esp + 0x100]
mov edx, dword [esp + 0x104]
sub eax, edx
mov edx, dword [esp + 0xfc]
mov ecx, dword [esp + 0x104]
sub edx, ecx
test eax, eax
jge 0x5cebcf
mov ecx, eax
neg ecx
jmp 0x5cebd1
mov ecx, eax
mov dword [esp + 0x108], ecx
test edx, edx
jge 0x5cebe2
mov ecx, edx
neg ecx
jmp 0x5cebe4
mov ecx, edx
mov dword [esp + 0x10c], ecx
lea ecx, [edx + eax]
test ecx, ecx
jge 0x5cebf9
lea ecx, [edx + eax]
neg ecx
jmp 0x5cebfc
lea ecx, [edx + eax]
mov edx, ecx
mov eax, dword [esp + 0x108]
mov ecx, dword [esp + 0x10c]
cmp eax, ecx
jg 0x5cec24
mov eax, dword [esp + 0x108]
cmp edx, eax
jl 0x5cec24
mov eax, dword [esp + 0xfc]
jmp 0x5cec3f
mov ecx, dword [esp + 0x10c]
cmp edx, ecx
jl 0x5cec38
mov eax, dword [esp + 0x100]
jmp 0x5cec3f
mov eax, dword [esp + 0x104]
mov edx, dword [esp + 0xe4]
mov cl, byte [edx]
sub cl, al
mov eax, dword [esp + 0xe8]
and cl, 0xff
mov byte [eax], cl
inc dword [esp + 0xe4]
inc dword [esp + 0xe8]
inc dword [esp + 0xf8]
mov edx, dword [esp + 0xf8]
cmp ebp, edx
ja 0x5ceb5a
mov ecx, dword [ebx + 0xbc]
mov dword [esp + 8], ecx
jmp 0x5cf0ca
test byte [esp + 0x14], 0x80
je 0x5cf0ca
xor edx, edx
mov dword [esp + 0x124], edx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x128], ecx
mov dl, byte [ebx + 0x1b8]
cmp dl, 2
jne 0x5ceda1
mov ecx, dword [esp + 0x128]
and ecx, 0xffff
mov dword [esp + 0x134], ecx
mov edx, dword [esp + 0x128]
shr edx, 0xa
and edx, 0x3fffc0
mov dword [esp + 0x130], edx
xor edx, edx
cmp esi, edx
jle 0x5ced33
mov ecx, dword [ebx + 0x1bc]
mov cl, byte [ecx + edx]
cmp cl, 4
jne 0x5ced2e
mov ecx, dword [ebx + 0x1c4]
movzx ecx, word [ecx + edx*2]
imul ecx, dword [esp + 0x134]
shr ecx, 8
mov dword [esp + 0x134], ecx
mov ecx, dword [ebx + 0x1c4]
movzx ecx, word [ecx + edx*2]
imul ecx, dword [esp + 0x130]
shr ecx, 8
mov dword [esp + 0x130], ecx
inc edx
cmp esi, edx
jg 0x5cece8
mov edx, dword [ebx + 0x1cc]
movzx edx, word [edx + 8]
imul edx, dword [esp + 0x134]
shr edx, 3
mov dword [esp + 0x134], edx
mov ecx, dword [ebx + 0x1cc]
movzx edx, word [ecx + 8]
imul edx, dword [esp + 0x130]
shr edx, 3
mov dword [esp + 0x130], edx
mov ecx, dword [esp + 0x130]
cmp ecx, 0x3fffc0
jbe 0x5ced87
mov dword [esp + 0x128], 0x7fffffff
jmp 0x5ceda1
mov edx, dword [esp + 0x130]
shl edx, 0xa
mov ecx, dword [esp + 0x134]
add edx, ecx
mov dword [esp + 0x128], edx
xor edx, edx
mov dword [esp + 0x12c], edx
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0x110], ecx
mov edx, dword [ebx + 0xbc]
inc edx
mov dword [esp + 0x114], edx
mov ecx, dword [esp + 4]
inc ecx
mov dword [esp + 0x118], ecx
mov edx, dword [esp + 0x12c]
cmp eax, edx
jbe 0x5cee42
mov ecx, dword [esp + 0x110]
mov dl, byte [ecx]
mov ecx, dword [esp + 0x118]
mov cl, byte [ecx]
sub dl, cl
mov ecx, dword [esp + 0x114]
and dl, 0xff
mov byte [ecx], dl
and edx, 0xff
inc dword [esp + 0x118]
inc dword [esp + 0x110]
inc dword [esp + 0x114]
cmp edx, 0x80
jge 0x5cee22
mov ecx, edx
jmp 0x5cee29
mov ecx, pe_nt_image_headers32
sub ecx, edx
add dword [esp + 0x124], ecx
inc dword [esp + 0x12c]
mov edx, dword [esp + 0x12c]
cmp eax, edx
ja 0x5ceddb
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0x120], eax
mov eax, dword [esp + 4]
inc eax
mov dword [esp + 0x11c], eax
mov edx, dword [esp + 0x12c]
cmp ebp, edx
jbe 0x5cefbb
mov ecx, dword [esp + 0x118]
xor eax, eax
mov al, byte [ecx]
mov dword [esp + 0x13c], eax
inc dword [esp + 0x118]
mov edx, dword [esp + 0x11c]
xor ecx, ecx
mov cl, byte [edx]
mov dword [esp + 0x140], ecx
inc dword [esp + 0x11c]
mov eax, dword [esp + 0x120]
xor edx, edx
mov dl, byte [eax]
mov dword [esp + 0x138], edx
inc dword [esp + 0x120]
mov edi, dword [esp + 0x13c]
mov eax, dword [esp + 0x140]
sub edi, eax
mov eax, dword [esp + 0x138]
mov edx, dword [esp + 0x140]
sub eax, edx
test edi, edi
jge 0x5ceede
mov ecx, edi
neg ecx
jmp 0x5ceee0
mov ecx, edi
mov dword [esp + 0x144], ecx
test eax, eax
jge 0x5ceef1
mov edx, eax
neg edx
jmp 0x5ceef3
mov edx, eax
mov dword [esp + 0x148], edx
lea ecx, [eax + edi]
test ecx, ecx
jge 0x5cef08
lea edx, [eax + edi]
neg edx
jmp 0x5cef0b
lea edx, [eax + edi]
mov eax, edx
mov ecx, dword [esp + 0x144]
mov edx, dword [esp + 0x148]
cmp ecx, edx
jg 0x5cef33
mov ecx, dword [esp + 0x144]
cmp eax, ecx
jl 0x5cef33
mov edi, dword [esp + 0x138]
jmp 0x5cef4e
mov edx, dword [esp + 0x148]
cmp eax, edx
jl 0x5cef47
mov edi, dword [esp + 0x13c]
jmp 0x5cef4e
mov edi, dword [esp + 0x140]
mov edx, dword [esp + 0x110]
mov eax, edi
mov cl, byte [edx]
xor edx, edx
sub cl, al
mov eax, dword [esp + 0x114]
and cl, 0xff
mov byte [eax], cl
mov dl, cl
inc dword [esp + 0x110]
inc dword [esp + 0x114]
cmp edx, 0x80
jge 0x5cef85
mov eax, edx
jmp 0x5cef8c
mov eax, pe_nt_image_headers32
sub eax, edx
add dword [esp + 0x124], eax
mov edx, dword [esp + 0x124]
mov ecx, dword [esp + 0x128]
cmp edx, ecx
ja 0x5cefbb
inc dword [esp + 0x12c]
mov eax, dword [esp + 0x12c]
cmp ebp, eax
ja 0x5cee69
mov dl, byte [ebx + 0x1b8]
cmp dl, 2
jne 0x5cf0b1
mov ecx, dword [esp + 0x124]
and ecx, 0xffff
mov dword [esp + 0x150], ecx
mov eax, dword [esp + 0x124]
shr eax, 0xa
and eax, 0x3fffc0
mov dword [esp + 0x14c], eax
xor eax, eax
cmp esi, eax
jle 0x5cf045
mov edx, dword [ebx + 0x1bc]
mov cl, byte [edx + eax]
cmp cl, 4
jne 0x5cf040
mov edx, dword [ebx + 0x1c0]
movzx ecx, word [edx + eax*2]
imul ecx, dword [esp + 0x150]
shr ecx, 8
mov dword [esp + 0x150], ecx
mov edx, dword [ebx + 0x1c0]
movzx ecx, word [edx + eax*2]
imul ecx, dword [esp + 0x14c]
shr ecx, 8
mov dword [esp + 0x14c], ecx
inc eax
cmp esi, eax
jg 0x5ceffa
mov eax, dword [ebx + 0x1c8]
movzx eax, word [eax + 8]
imul dword [esp + 0x150]
shr eax, 3
mov dword [esp + 0x150], eax
mov edx, dword [ebx + 0x1c8]
movzx ecx, word [edx + 8]
imul ecx, dword [esp + 0x14c]
shr ecx, 3
mov dword [esp + 0x14c], ecx
mov eax, dword [esp + 0x14c]
cmp eax, 0x3fffc0
jbe 0x5cf097
mov dword [esp + 0x124], 0x7fffffff
jmp 0x5cf0b1
mov edx, dword [esp + 0x14c]
shl edx, 0xa
mov ecx, dword [esp + 0x150]
add edx, ecx
mov dword [esp + 0x124], edx
mov eax, dword [esp + 0x124]
mov edx, dword [esp + 0x10]
cmp eax, edx
jae 0x5cf0ca
mov ecx, dword [ebx + 0xbc]
mov dword [esp + 8], ecx
mov edx, dword [esp + 8]
mov eax, ebx
call fcn.005cf14c
mov cl, byte [ebx + 0x1b9]
test cl, cl
jbe 0x5cf13e
mov dword [esp + 0x154], 1
mov eax, dword [esp + 0x154]
cmp esi, eax
jle 0x5cf128
mov edx, dword [ebx + 0x1bc]
mov ecx, dword [esp + 0x154]
mov al, byte [edx + ecx - 1]
mov edx, dword [ebx + 0x1bc]
mov ecx, dword [esp + 0x154]
mov byte [edx + ecx], al
inc dword [esp + 0x154]
mov eax, dword [esp + 0x154]
cmp esi, eax
jg 0x5cf0f5
mov edx, dword [ebx + 0x1bc]
mov ecx, dword [esp + 0x154]
mov eax, dword [esp + 8]
mov al, byte [eax]
mov byte [edx + ecx], al
add esp, 0x158
pop ebp
pop edi
pop esi
pop ebx
ret