Function at 0x5dd160
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x646350
push eax
mov dword fs:[0], esp
sub esp, 0x40
push esi
push edi
mov edi, ecx
call fcn.005de060
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
test ecx, ecx
jl 0x5dd198
jg 0x5dd194
test edx, edx
jb 0x5dd198
mov al, 1
jmp 0x5dd19a
xor al, al
mov esi, dword [edi + 0x24]
mov byte [edi + 0x84], al
cmp dword [esi + 0x14], 0
jne 0x5dd1c3
mov dword [edi + 0x68], 0xffffffff
mov dword [edi + 0x6c], 0xffffffff
mov dword [edi + 0x80], 0xffffffff
jmp 0x5dd1df
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x14]
mov dword [edi + 0x6c], eax
mov dword [edi + 0x80], 4
mov dword [edi + 0x94], ecx
mov dword [edi + 0x5c], ecx
mov ecx, dword [edi + 0x20]
mov dword [edi + 0x90], edx
mov byte [ebp - 0xd], 0
mov byte [edi + 0x86], 1
mov dword [edi + 0x58], edx
mov dword [edi + 0x60], 0xffffffff
mov dword [edi + 0x64], SysReAllocString
test ecx, ecx
je 0x5dd23b
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x5dd226
cmp dword [esi + 0x14], 0
jne 0x5dd226
sub eax, dword [ecx + 0x58]
add eax, edx
mov dword [edi + 0x28], eax
cmp byte [ecx + 0x85], 0
jne 0x5dd23b
mov eax, dword [ecx + 0x60]
mov dword [edi + 0x60], eax
mov eax, dword [ecx + 0x64]
mov dword [edi + 0x64], eax
mov eax, dword [edi]
lea ecx, [edi + 0xa0]
push 8
push ecx
mov ecx, edi
mov dword [edi + 0xb8], 0
call dword [eax + 0xc]
cmp eax, 8
jge 0x5dd275
mov ecx, edi
call fcn.005de060
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
movzx eax, byte [edi + 0xa0]
cdq
mov esi, eax
movzx eax, byte [edi + 0xa1]
push ebx
mov ebx, edx
cdq
shld ebx, esi, 8
shl esi, 8
add esi, eax
movzx eax, byte [edi + 0xa2]
adc ebx, edx
cdq
shld ebx, esi, 8
shl esi, 8
add esi, eax
movzx eax, byte [edi + 0xa3]
adc ebx, edx
cdq
shld ebx, esi, 8
shl esi, 8
add esi, eax
mov dword [edi + 0x38], esi
adc ebx, edx
mov dword [edi + 0x3c], ebx
movzx ecx, byte [edi + 0xa4]
movzx eax, byte [edi + 0xa5]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0xa6]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0xa7]
shl ecx, 8
add ecx, eax
mov dword [edi + 0x30], ecx
cmp ecx, 0x70686c64
jne 0x5dd36f
mov eax, dword [edi + 0x20]
mov byte [ebp - 0xd], 1
mov dword [edi + 0x60], 0xffffffff
mov dword [edi + 0x64], SysReAllocString
test eax, eax
je 0x5dd324
mov dword [eax + 0x60], 0xffffffff
mov dword [eax + 0x64], SysReAllocString
mov esi, dword [edi + 0x38]
mov ebx, dword [edi + 0x3c]
test ebx, ebx
jg 0x5dd36f
jl 0x5dd32f
cmp esi, 0x1c
jae 0x5dd36f
mov ecx, edi
call fcn.005de060
push 5
push str.E_jp2.cpp_
lea ecx, [ebp - 0x38]
call fcn.005b0a70
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x38]
push 0x6b02f0
mov dword [ebp - 4], 0
call dword [eax + 8]
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.005b0cb0
mov esi, dword [edi + 0x38]
mov ebx, dword [edi + 0x3c]
xor edx, edx
mov dword [edi + 0x40], 8
mov dword [edi + 0x44], 0
mov ecx, 8
mov dword [ebp - 0x18], edx
cmp esi, 1
jne 0x5dd44b
test ebx, ebx
jne 0x5dd44b
mov eax, dword [edi]
push ecx
lea ecx, [edi + 0xa0]
mov dword [edi + 0x40], 0x10
push ecx
mov ecx, edi
mov dword [edi + 0x44], edx
call dword [eax + 0xc]
cmp eax, 8
jl 0x5ddb8a
movzx eax, byte [edi + 0xa0]
lea ecx, [edi + 0xa0]
cdq
mov esi, eax
mov ebx, edx
movzx eax, byte [ecx + 1]
shld ebx, esi, 8
cdq
shl esi, 8
add esi, eax
movzx eax, byte [ecx + 2]
adc ebx, edx
cdq
shld ebx, esi, 8
shl esi, 8
add esi, eax
movzx eax, byte [ecx + 3]
adc ebx, edx
cdq
shld ebx, esi, 8
shl esi, 8
add esi, eax
movzx eax, byte [ecx + 4]
adc ebx, edx
cdq
shld ebx, esi, 8
shl esi, 8
add esi, eax
movzx eax, byte [ecx + 5]
adc ebx, edx
cdq
shld ebx, esi, 8
shl esi, 8
add esi, eax
movzx eax, byte [ecx + 6]
adc ebx, edx
cdq
shld ebx, esi, 8
shl esi, 8
add esi, eax
movzx eax, byte [ecx + 7]
mov ecx, dword [edi + 0x40]
adc ebx, edx
cdq
shld ebx, esi, 8
shl esi, 8
add esi, eax
mov dword [edi + 0x38], esi
adc ebx, edx
mov edx, dword [edi + 0x44]
mov dword [edi + 0x3c], ebx
mov dword [ebp - 0x18], edx
mov eax, esi
or eax, ebx
jne 0x5dd455
mov al, 1
jmp 0x5dd457
xor al, al
mov byte [edi + 0x85], al
test al, al
je 0x5dd48f
cmp dword [edi + 0x28], 0
je 0x5dd48f
mov eax, dword [edi + 0x20]
mov esi, dword [eax + 0x60]
mov ebx, dword [eax + 0x64]
sub esi, dword [edi + 0x90]
mov byte [edi + 0x85], 0
sbb ebx, dword [edi + 0x94]
add esi, ecx
mov dword [edi + 0x38], esi
adc ebx, edx
xor al, al
mov dword [edi + 0x3c], ebx
mov edx, esi
sub edx, ecx
mov ecx, ebx
mov dword [ebp - 0x1c], edx
sbb ecx, dword [ebp - 0x18]
mov dword [ebp - 0x18], ecx
test al, al
jne 0x5dd4ef
test ecx, ecx
jg 0x5dd4ef
jl 0x5dd4ac
test edx, edx
jae 0x5dd4ef
mov ecx, edi
call fcn.005de060
push 6
push str.E_jp2.cpp_
lea ecx, [ebp - 0x38]
call fcn.005b0a70
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x38]
push 0x6b02f0
mov dword [ebp - 4], 1
call dword [eax + 8]
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.005b0cb0
mov esi, dword [edi + 0x38]
mov ebx, dword [edi + 0x3c]
mov edx, dword [ebp - 0x1c]
cmp byte [ebp - 0xd], 0
mov dword [edi + 0x50], esi
mov dword [edi + 0x54], ebx
jne 0x5dd54a
mov ecx, dword [edi + 0x90]
mov eax, dword [edi + 0x94]
mov esi, dword [ebp - 0x18]
mov dword [edi + 0x58], ecx
add ecx, edx
mov dword [edi + 0x5c], eax
adc eax, esi
mov dword [edi + 0x60], ecx
mov dword [edi + 0x64], eax
test esi, esi
jg 0x5dd532
jl 0x5dd524
test edx, edx
jae 0x5dd532
mov dword [edi + 0x60], 0xffffffff
mov dword [edi + 0x64], SysReAllocString
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x5ddc50
mov eax, dword [edi + 0x40]
add eax, ecx
mov dword [edi + 0x28], eax
jmp 0x5ddc50
mov eax, dword [edi]
lea ebx, [edi + 0xa0]
push 0x14
push ebx
mov ecx, edi
call dword [eax + 0xc]
cmp eax, 0x14
jl 0x5ddb8a
movzx ecx, byte [ebx]
shl ecx, 8
movzx eax, byte [ebx + 1]
add ecx, eax
movzx eax, byte [ebx + 2]
shl ecx, 8
add ecx, eax
movzx eax, byte [ebx + 3]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0xa4]
mov dword [ebp - 0x14], ecx
cdq
mov ecx, eax
mov esi, edx
shld esi, ecx, 8
movzx eax, byte [edi + 0xa5]
shl ecx, 8
cdq
add ecx, eax
movzx eax, byte [edi + 0xa6]
adc esi, edx
cdq
shld esi, ecx, 8
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0xa7]
adc esi, edx
cdq
shld esi, ecx, 8
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0xa8]
adc esi, edx
cdq
shld esi, ecx, 8
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0xa9]
adc esi, edx
cdq
shld esi, ecx, 8
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0xaa]
adc esi, edx
cdq
shld esi, ecx, 8
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0xab]
adc esi, edx
cdq
shld esi, ecx, 8
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0xac]
mov dword [ebp - 0x20], ecx
adc esi, edx
cdq
mov dword [ebp - 0x24], esi
mov ecx, edx
mov esi, eax
movzx eax, byte [edi + 0xad]
shld ecx, esi, 8
cdq
shl esi, 8
add esi, eax
movzx eax, byte [edi + 0xae]
adc ecx, edx
cdq
shld ecx, esi, 8
shl esi, 8
add esi, eax
movzx eax, byte [edi + 0xaf]
adc ecx, edx
cdq
shld ecx, esi, 8
shl esi, 8
add esi, eax
adc ecx, edx
mov dword [edi + 0x3c], ecx
mov edx, 8
mov dword [ebp - 0x18], ecx
mov dword [edi + 0x38], esi
movzx eax, byte [edi + 0xb0]
movzx ecx, byte [edi + 0xb1]
shl eax, 8
add ecx, eax
mov dword [ebp - 0x1c], 0
movzx eax, byte [edi + 0xb2]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0xb3]
shl ecx, 8
add ecx, eax
mov dword [edi + 0x40], 8
mov dword [edi + 0x30], ecx
mov ecx, dword [ebp - 0x18]
mov dword [edi + 0x44], 0
cmp esi, 1
jne 0x5dd768
test ecx, ecx
jne 0x5dd768
mov eax, dword [edi]
push edx
mov dword [edi + 0x44], ecx
mov ecx, edi
push ebx
mov dword [edi + 0x40], 0x10
call dword [eax + 0xc]
cmp eax, 8
jl 0x5ddb8a
movzx eax, byte [ebx]
cdq
mov esi, eax
mov ecx, edx
movzx eax, byte [ebx + 1]
shld ecx, esi, 8
cdq
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 2]
adc ecx, edx
cdq
shld ecx, esi, 8
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 3]
adc ecx, edx
cdq
shld ecx, esi, 8
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 4]
adc ecx, edx
cdq
shld ecx, esi, 8
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 5]
adc ecx, edx
cdq
shld ecx, esi, 8
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 6]
adc ecx, edx
cdq
shld ecx, esi, 8
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 7]
adc ecx, edx
cdq
shld ecx, esi, 8
shl esi, 8
add esi, eax
mov eax, dword [edi + 0x44]
mov dword [edi + 0x38], esi
adc ecx, edx
mov dword [ebp - 0x1c], eax
mov edx, dword [edi + 0x40]
mov dword [edi + 0x3c], ecx
mov eax, esi
or eax, ecx
jne 0x5dd772
mov al, 1
jmp 0x5dd774
xor al, al
sub esi, edx
mov byte [edi + 0x85], al
sbb ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
test al, al
jne 0x5dd7cd
test ecx, ecx
jg 0x5dd7cd
jl 0x5dd790
test esi, esi
jae 0x5dd7cd
mov ecx, edi
call fcn.005de060
push 7
push str.E_jp2.cpp_
lea ecx, [ebp - 0x38]
call fcn.005b0a70
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x38]
push 0x6b02f0
mov dword [ebp - 4], 2
call dword [eax + 8]
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.005b0cb0
mov ecx, dword [ebp - 0x18]
cmp byte [ebp + 8], 0
mov edx, dword [ebp - 0x14]
mov eax, edx
je 0x5dd7df
and eax, 1
jne 0x5dd7e7
jmp 0x5dd7e2
and eax, 1
test dl, 6
jne 0x5dd848
mov edx, dword [ebp - 0x20]
mov dword [edi + 0x68], edx
mov edx, dword [ebp - 0x24]
mov dword [edi + 0x6c], edx
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
test eax, eax
jne 0x5dd827
mov dword [edi + 0x30], eax
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], eax
jmp 0x5ddc50
mov dword [edi + 0x60], esi
mov dword [edi + 0x64], ecx
test ecx, ecx
jg 0x5ddc50
jl 0x5ddc42
test esi, esi
jae 0x5ddc50
jmp 0x5ddc42
mov eax, dword [edi]
mov ecx, edi
push 0x10
push ebx
mov byte [edi + 0x84], 0
call dword [eax + 0xc]
cmp eax, 0x10
jl 0x5ddb8a
movzx eax, byte [ebx]
cdq
mov ecx, eax
mov esi, edx
shld esi, ecx, 8
movzx eax, byte [ebx + 1]
shl ecx, 8
cdq
add ecx, eax
movzx eax, byte [ebx + 2]
adc esi, edx
cdq
shld esi, ecx, 8
shl ecx, 8
add ecx, eax
movzx eax, byte [ebx + 3]
adc esi, edx
cdq
shld esi, ecx, 8
shl ecx, 8
add ecx, eax
movzx eax, byte [ebx + 4]
adc esi, edx
cdq
shld esi, ecx, 8
shl ecx, 8
add ecx, eax
movzx eax, byte [ebx + 5]
adc esi, edx
cdq
shld esi, ecx, 8
shl ecx, 8
add ecx, eax
movzx eax, byte [ebx + 6]
adc esi, edx
cdq
shld esi, ecx, 8
shl ecx, 8
add ecx, eax
movzx eax, byte [ebx + 7]
adc esi, edx
cdq
shld esi, ecx, 8
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0xa8]
mov dword [ebp - 0x24], ecx
adc esi, edx
cdq
mov dword [ebp - 0x20], esi
mov ecx, edx
mov esi, eax
movzx eax, byte [edi + 0xa9]
shld ecx, esi, 8
cdq
shl esi, 8
add esi, eax
movzx eax, byte [edi + 0xaa]
adc ecx, edx
cdq
shld ecx, esi, 8
shl esi, 8
add esi, eax
movzx eax, byte [edi + 0xab]
adc ecx, edx
cdq
shld ecx, esi, 8
shl esi, 8
add esi, eax
movzx eax, byte [edi + 0xad]
adc ecx, edx
mov dword [ebp + 8], ecx
movzx ecx, byte [edi + 0xac]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0xae]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0xaf]
shl ecx, 8
add ecx, eax
mov edx, esi
mov dword [edi + 0x30], ecx
mov ecx, dword [ebp + 8]
sub edx, 8
mov eax, ecx
mov dword [ebp - 0x1c], edx
sbb eax, 0
mov dword [ebp + 8], eax
cmp esi, 1
jne 0x5dda15
test ecx, ecx
jne 0x5dda15
mov eax, dword [edi]
mov ecx, edi
push 8
push ebx
call dword [eax + 0xc]
cmp eax, 8
jl 0x5ddb8a
movzx eax, byte [ebx + 1]
cdq
mov esi, eax
mov ecx, edx
movzx eax, byte [ebx]
cdq
shld edx, eax, 8
shl eax, 8
add esi, eax
movzx eax, byte [ebx + 2]
adc ecx, edx
cdq
shld ecx, esi, 8
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 3]
adc ecx, edx
cdq
shld ecx, esi, 8
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 4]
adc ecx, edx
cdq
shld ecx, esi, 8
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 5]
adc ecx, edx
cdq
shld ecx, esi, 8
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 6]
adc ecx, edx
cdq
shld ecx, esi, 8
shl esi, 8
add esi, eax
movzx eax, byte [ebx + 7]
adc ecx, edx
cdq
shld ecx, esi, 8
shl esi, 8
add esi, eax
adc ecx, edx
mov edx, esi
sub edx, 0x10
mov eax, ecx
mov dword [ebp - 0x1c], edx
sbb eax, 0
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x14]
test al, 2
jne 0x5dda80
mov dword [edi + 0x30], 0
mov esi, dword [ebp + 8]
test al, 4
jne 0x5ddad3
mov eax, dword [ebp - 0x24]
mov dword [edi + 0x68], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x6c], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], esi
test esi, esi
jg 0x5ddc50
jl 0x5ddc42
test eax, eax
jae 0x5ddc50
jmp 0x5ddc42
or esi, ecx
je 0x5dda23
mov esi, dword [ebp + 8]
test esi, esi
jg 0x5dda26
jl 0x5dda91
test edx, edx
jae 0x5dda26
mov ecx, edi
call fcn.005de060
push 8
push str.E_jp2.cpp_
lea ecx, [ebp - 0x4c]
call fcn.005b0a70
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x4c]
push 0x6b02f0
mov dword [ebp - 4], 3
call dword [eax + 8]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
call fcn.005b0cb0
mov eax, dword [ebp - 0x14]
jmp 0x5dda26
mov eax, dword [edi]
mov ecx, edi
push 8
push ebx
call dword [eax + 0xc]
cmp eax, 8
jl 0x5ddb8a
movzx eax, byte [ebx]
cdq
mov ecx, eax
mov esi, edx
movzx eax, byte [ebx + 1]
shld esi, ecx, 8
cdq
shl ecx, 8
add ecx, eax
movzx eax, byte [ebx + 2]
adc esi, edx
cdq
shld esi, ecx, 8
shl ecx, 8
add ecx, eax
movzx eax, byte [ebx + 3]
adc esi, edx
cdq
shld esi, ecx, 8
shl ecx, 8
add ecx, eax
movzx eax, byte [ebx + 4]
adc esi, edx
cdq
shld esi, ecx, 8
shl ecx, 8
add ecx, eax
movzx eax, byte [ebx + 5]
adc esi, edx
cdq
shld esi, ecx, 8
shl ecx, 8
add ecx, eax
movzx eax, byte [ebx + 6]
adc esi, edx
cdq
shld esi, ecx, 8
shl ecx, 8
add ecx, eax
movzx eax, byte [ebx + 7]
adc esi, edx
cdq
shld esi, ecx, 8
shl ecx, 8
add ecx, eax
mov dword [ebp + 8], ecx
adc esi, edx
mov dword [edi + 0x70], ecx
add ecx, 1
mov dword [edi + 0x74], esi
mov eax, esi
mov dword [edi + 0x78], ecx
adc eax, 0
test byte [ebp - 0x14], 8
mov dword [edi + 0x7c], eax
je 0x5ddbf2
mov eax, dword [edi]
mov ecx, edi
push 4
push ebx
call dword [eax + 0xc]
cmp eax, 4
jge 0x5ddba6
mov ecx, edi
call fcn.005de060
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
movzx eax, byte [ebx + 1]
cdq
mov ecx, eax
mov esi, edx
movzx eax, byte [ebx]
cdq
shld edx, eax, 8
shl eax, 8
add ecx, eax
movzx eax, byte [ebx + 2]
adc esi, edx
cdq
shld esi, ecx, 8
shl ecx, 8
add ecx, eax
movzx eax, byte [ebx + 3]
adc esi, edx
cdq
shld esi, ecx, 8
shl ecx, 8
add ecx, eax
mov eax, dword [edi + 0x70]
adc esi, edx
mov edx, dword [edi + 0x74]
add ecx, eax
mov dword [edi + 0x78], ecx
adc esi, edx
mov dword [edi + 0x7c], esi
mov esi, edx
jmp 0x5ddbf5
mov eax, dword [ebp + 8]
mov dword [edi + 0x30], 0x6a703263
mov dword [edi + 0x80], 3
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x98], eax
mov dword [edi + 0x9c], esi
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x64], SysReAllocString
mov dword [edi + 0x60], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov al, 1
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4