Function at 0x431db0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0x14]
push esi
push edi
xor edi, edi
test eax, eax
mov dword [esp + 0x10], ebp
jle 0x432492
lea ecx, [ecx]
mov eax, dword [ebp + 0xd0]
test eax, eax
jle 0x431e35
mov eax, dword [ebp + 0xeb0]
test eax, eax
jne 0x431e35
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp eax, 0xff
jne 0x431de4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
call dword [edx + 0x10]
cmp eax, 0xff
je 0x431df3
test eax, eax
je 0x431de4
mov ecx, dword [ebp + 0xeb4]
cmp eax, ecx
jne 0x4324a2
lea eax, [ecx + 1]
cmp eax, 0xd8
mov dword [ebp + 0xeb4], eax
jne 0x431e2e
mov dword [ebp + 0xeb4], 0xd0
mov ecx, ebp
call fcn.0042da50
mov ecx, dword [ebp + 0xc0]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x3c], eax
jle 0x43225b
mov dword [esp + 0x24], eax
lea eax, [ebp + 0x90]
lea esi, [ebp + 0x34]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], esi
jmp 0x431e64
mov esi, dword [esp + 0x28]
mov eax, dword [ebp + 0x1c]
cdq
idiv dword [esi - 4]
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x14], 0
mov ebx, eax
mov eax, ecx
cdq
idiv dword [esi]
mov dword [esp + 0x48], ebx
mov esi, eax
mov eax, ebx
cdq
and edx, 7
add eax, edx
mov ebx, eax
mov eax, esi
cdq
and edx, 7
add eax, edx
mov dword [esp + 0x20], esi
mov esi, eax
sar ebx, 3
sar esi, 3
test ecx, ecx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x34], esi
jle 0x432223
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x1c]
xor ebp, ebp
test ecx, ecx
jle 0x432206
mov edx, dword [esp + 0x28]
add edx, 8
lea ecx, [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [ecx + 0x10]
mov ecx, dword [ecx]
imul edx, edx, 0x156
imul ecx, ecx, 0x156
lea edx, [edx + eax + 0x730]
push edx
lea edx, [ecx + eax + 0x1d8]
push edx
mov ecx, eax
call fcn.00431490
test eax, eax
je 0x4324b8
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x50]
push eax
mov eax, dword [edx + 4]
lea ecx, [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x18]
shl eax, 6
lea edx, [eax + ecx + 0xd4]
push edx
call fcn.0042daa0
cmp ebx, 1
jne 0x432060
cmp esi, ebx
jne 0x432138
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
add ecx, edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x51]
lea esi, [edx + ecx*4 + 0xc94]
mov dword [esp + 0x18], 2
mov ecx, dword [esi - 4]
mov dl, byte [eax - 1]
add ecx, ebp
mov byte [ecx + edi], dl
mov dl, byte [eax]
mov byte [ecx + edi + 1], dl
mov dl, byte [eax + 1]
mov byte [ecx + edi + 2], dl
mov dl, byte [eax + 2]
mov byte [ecx + edi + 3], dl
mov dl, byte [eax + 3]
mov byte [ecx + edi + 4], dl
mov dl, byte [eax + 4]
mov byte [ecx + edi + 5], dl
add ecx, edi
mov dl, byte [eax + 5]
mov byte [ecx + 6], dl
mov dl, byte [eax + 6]
mov byte [ecx + 7], dl
mov ecx, dword [esi]
mov dl, byte [eax + 7]
add ecx, ebp
mov byte [ecx + edi], dl
mov dl, byte [eax + 8]
mov byte [ecx + edi + 1], dl
mov dl, byte [eax + 9]
mov byte [ecx + edi + 2], dl
mov dl, byte [eax + 0xa]
mov byte [ecx + edi + 3], dl
mov dl, byte [eax + 0xb]
add ecx, edi
mov byte [ecx + 4], dl
mov dl, byte [eax + 0xc]
mov byte [ecx + 5], dl
mov dl, byte [eax + 0xd]
mov byte [ecx + 6], dl
mov dl, byte [eax + 0xe]
mov byte [ecx + 7], dl
mov ecx, dword [esi + 4]
mov dl, byte [eax + 0xf]
add ecx, ebp
mov byte [ecx + edi], dl
mov dl, byte [eax + 0x10]
mov byte [ecx + edi + 1], dl
mov dl, byte [eax + 0x11]
add ecx, edi
mov byte [ecx + 2], dl
mov dl, byte [eax + 0x12]
mov byte [ecx + 3], dl
mov dl, byte [eax + 0x13]
mov byte [ecx + 4], dl
mov dl, byte [eax + 0x14]
mov byte [ecx + 5], dl
mov dl, byte [eax + 0x15]
mov byte [ecx + 6], dl
mov dl, byte [eax + 0x16]
mov byte [ecx + 7], dl
mov ecx, dword [esi + 8]
mov dl, byte [eax + 0x17]
add ecx, ebp
add ecx, edi
mov byte [ecx], dl
mov dl, byte [eax + 0x18]
mov byte [ecx + 1], dl
mov dl, byte [eax + 0x19]
mov byte [ecx + 2], dl
mov dl, byte [eax + 0x1a]
mov byte [ecx + 3], dl
mov dl, byte [eax + 0x1b]
mov byte [ecx + 4], dl
mov dl, byte [eax + 0x1c]
mov byte [ecx + 5], dl
mov dl, byte [eax + 0x1d]
mov byte [ecx + 6], dl
mov dl, byte [eax + 0x1e]
mov byte [ecx + 7], dl
mov ecx, dword [esp + 0x18]
add esi, 0x10
add eax, 0x20
dec ecx
mov dword [esp + 0x18], ecx
jne 0x431f60
mov esi, dword [esp + 0x34]
jmp 0x4321f1
cmp ebx, 2
jne 0x432138
cmp esi, ebx
jne 0x432138
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
add eax, ecx
lea esi, [esp + 0x51]
lea ebx, [edx + eax*4 + 0xc94]
mov dword [esp + 0x18], 8
mov ecx, dword [ebx]
mov eax, dword [ebx - 4]
mov dl, byte [esi - 1]
add eax, ebp
add eax, edi
add ecx, ebp
mov byte [ecx + edi + 1], dl
mov byte [ecx + edi], dl
mov byte [eax + 1], dl
mov byte [eax], dl
mov dl, byte [esi]
add ecx, edi
mov byte [ecx + 3], dl
mov byte [ecx + 2], dl
mov byte [eax + 3], dl
mov byte [eax + 2], dl
mov dl, byte [esi + 1]
mov byte [ecx + 5], dl
mov byte [ecx + 4], dl
mov byte [eax + 5], dl
mov byte [eax + 4], dl
mov dl, byte [esi + 2]
mov byte [ecx + 7], dl
mov byte [ecx + 6], dl
mov byte [eax + 7], dl
mov byte [eax + 6], dl
mov dl, byte [esi + 3]
mov byte [ecx + 9], dl
mov byte [ecx + 8], dl
mov byte [eax + 9], dl
mov byte [eax + 8], dl
mov dl, byte [esi + 4]
mov byte [ecx + 0xb], dl
mov byte [ecx + 0xa], dl
mov byte [eax + 0xb], dl
mov byte [eax + 0xa], dl
mov dl, byte [esi + 5]
mov byte [ecx + 0xd], dl
mov byte [ecx + 0xc], dl
mov byte [eax + 0xd], dl
mov byte [eax + 0xc], dl
mov dl, byte [esi + 6]
mov byte [ecx + 0xf], dl
mov byte [ecx + 0xe], dl
mov byte [eax + 0xf], dl
mov byte [eax + 0xe], dl
mov eax, dword [esp + 0x18]
add ebx, 8
add esi, 8
dec eax
mov dword [esp + 0x18], eax
jne 0x432092
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x34]
jmp 0x4321f1
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x44], 8
lea ebx, [ebx]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x38], 8
xor edx, edx
test esi, esi
mov dword [esp + 0x40], edx
jle 0x4321ba
lea ebx, [ebx]
xor eax, eax
test ebx, ebx
jle 0x4321b1
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov cl, byte [esp + ecx + 0x50]
add esi, edx
add esi, dword [esp + 0x18]
add esi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
lea edx, [edx + esi*4 + 0xc90]
mov esi, dword [edx]
add esi, eax
add esi, dword [esp + 0x2c]
add esi, ebp
inc eax
cmp eax, ebx
mov byte [esi + edi], cl
jl 0x432197
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x34]
inc edx
cmp edx, esi
mov dword [esp + 0x40], edx
jl 0x432170
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
inc edx
add ecx, ebx
dec eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], eax
jne 0x432160
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
add ecx, esi
dec eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x44], eax
jne 0x432150
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x1c]
add ebp, edx
cmp ebp, ecx
jl 0x431ec2
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
mov edx, dword [eax + 0x20]
add ecx, ebp
cmp ecx, edx
mov dword [esp + 0x14], ecx
jl 0x431eb1
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov ecx, dword [ebp + 0xc0]
inc eax
add ebx, 0x14
add esi, 4
add edx, 0x20
cmp eax, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], edx
jl 0x431e60
mov ecx, dword [ebp + 0xeb0]
mov eax, dword [ebp + 0xc4]
dec ecx
mov dword [ebp + 0xeb0], ecx
xor ecx, ecx
cmp eax, ecx
je 0x432482
mov eax, dword [ebp + 0xc0]
cmp eax, 3
jne 0x43237d
cmp dword [ebp + 0x20], ecx
mov dword [esp + 0x14], ecx
jle 0x432482
lea esi, [ebp + 0xd10]
lea ebx, [ebx]
mov eax, dword [ebp + 0x1c]
xor ecx, ecx
test eax, eax
jle 0x432361
lea ecx, [ecx]
mov edx, dword [esi - 0x80]
add edx, ecx
lea eax, [edx + edi]
movzx edx, byte [eax]
mov dword [esp + 0x20], eax
mov eax, dword [esi]
add eax, ecx
movzx ebp, byte [eax + edi]
mov eax, dword [esi + 0x80]
add eax, ecx
movzx eax, byte [eax + edi]
sub eax, 0x80
mov ebx, eax
imul eax, eax, 0xffff492e
imul ebx, ebx, 0x166e9
shl edx, 0x10
mov dword [esp + 0x1c], edx
lea edx, [ebx + edx + 0x8000]
mov ebx, dword [esp + 0x20]
sar edx, 0x10
mov dl, byte [edx + 0x46fec8]
mov byte [ebx], dl
mov ebx, dword [esi]
sub ebp, 0x80
mov edx, ebp
imul ebp, ebp, 0x1c5a2
imul edx, edx, 0x5819
sub eax, edx
mov edx, dword [esp + 0x1c]
lea eax, [eax + edx + 0x8000]
sar eax, 0x10
mov al, byte [eax + 0x46fec8]
add ebx, ecx
mov byte [ebx + edi], al
mov eax, dword [esi + 0x80]
lea edx, [edx + ebp + 0x8000]
sar edx, 0x10
mov dl, byte [edx + 0x46fec8]
add eax, ecx
mov byte [eax + edi], dl
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x1c]
inc ecx
cmp ecx, edx
jl 0x4322b0
mov ebp, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x20]
inc eax
add esi, 4
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x4322a0
jmp 0x432482
cmp eax, 4
jne 0x432482
cmp dword [ebp + 0x20], ecx
mov dword [esp + 0x14], ecx
jle 0x432482
lea esi, [ebp + 0xd10]
lea esp, [esp]
mov eax, dword [ebp + 0x1c]
xor ecx, ecx
test eax, eax
jle 0x43246b
lea ecx, [ecx]
mov edx, dword [esi - 0x80]
add edx, ecx
lea eax, [edx + edi]
movzx edx, byte [eax]
mov dword [esp + 0x20], eax
mov eax, dword [esi]
add eax, ecx
movzx ebp, byte [eax + edi]
mov eax, dword [esi + 0x80]
add eax, ecx
movzx eax, byte [eax + edi]
sub eax, 0x80
mov ebx, eax
imul eax, eax, 0xffff492e
imul ebx, ebx, 0x166e9
shl edx, 0x10
mov dword [esp + 0x1c], edx
lea edx, [ebx + edx + 0x8000]
sar edx, 0x10
or bl, 0xff
sub bl, byte [edx + 0x46fec8]
mov edx, dword [esp + 0x20]
mov byte [edx], bl
sub ebp, 0x80
mov edx, ebp
imul ebp, ebp, 0x1c5a2
imul edx, edx, 0x5819
sub eax, edx
mov edx, dword [esp + 0x1c]
lea eax, [eax + edx + 0x8000]
sar eax, 0x10
or bl, 0xff
sub bl, byte [eax + 0x46fec8]
mov eax, dword [esi]
add eax, ecx
mov byte [eax + edi], bl
lea edx, [edx + ebp + 0x8000]
sar edx, 0x10
mov bl, byte [edx + 0x46fec8]
mov edx, dword [esi + 0x80]
or al, 0xff
sub al, bl
add edx, ecx
mov byte [edx + edi], al
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x1c]
inc ecx
cmp ecx, edx
jl 0x4323b0
mov ebp, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x20]
inc eax
add esi, 4
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x4323a0
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x14]
add edi, ecx
cmp edi, eax
jl 0x431dd0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x180
ret
mov edx, dword [ebp]
push str.Bad_DCT_data:_incorrect_restart_marker
mov ecx, ebp
call dword [edx + 0x20]
push eax
call fcn.00405840
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x180
ret