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

Disassembly:
sub esp, 0x130
push esi
mov esi, ecx
cmp dword [esi + 0x8c], 1
jne 0x4345b2
mov ecx, dword [esi + 0xc0]
xor eax, eax
test ecx, ecx
jle 0x434594
lea ecx, [esi + 0x7c]
cmp dword [ecx], 0
jne 0x434594
mov edx, dword [esi + 0xc0]
inc eax
add ecx, 4
cmp eax, edx
jl 0x434581
lea eax, [eax + eax*4]
lea ecx, [esi + eax*4]
mov eax, dword [esi + 0x1c]
cdq
idiv dword [ecx + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x20]
cdq
idiv dword [ecx + 0x34]
mov dword [esp + 0x10], eax
jmp 0x4345c0
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
mov dword [esp + 4], ecx
mov dword [esp + 0x10], edx
mov ecx, dword [esi + 0x18]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x14], eax
jle 0x434a6a
push ebx
push ebp
push edi
jmp 0x4345e0
mov ecx, dword [esi + 0x14]
test ecx, ecx
mov dword [esp + 0x14], 0
jle 0x434a32
jmp 0x434600
mov eax, dword [esi + 0xd0]
test eax, eax
jle 0x4346a6
mov eax, dword [esi + 0xeb0]
test eax, eax
jne 0x4346a6
lea esp, [esp]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp eax, 0xff
jne 0x434620
nop
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
call dword [edx + 0x10]
cmp eax, 0xff
je 0x434630
test eax, eax
je 0x434620
mov ecx, dword [esi + 0xeb4]
cmp eax, ecx
jne 0x434a52
lea eax, [ecx + 1]
cmp eax, 0xd8
mov dword [esi + 0xeb4], eax
jne 0x43466b
mov dword [esi + 0xeb4], 0xd0
mov eax, dword [esi + 0xd0]
mov ecx, dword [esi + 0xc0]
xor edx, edx
mov dword [esi + 0xeb0], eax
xor eax, eax
cmp ecx, edx
mov dword [esi + 0xec0], edx
jle 0x4346a0
lea ecx, [esi + 0x3c]
mov edi, edi
mov dword [ecx], edx
mov edi, dword [esi + 0xc0]
inc eax
add ecx, 0x14
cmp eax, edi
jl 0x434690
mov dword [esi + 0xeb8], edx
mov eax, dword [esi + 0xc0]
test eax, eax
mov dword [esp + 0x34], 0
jle 0x434a08
lea ebx, [esi + 0xa0]
lea ecx, [esi + 0x3c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], ecx
lea ecx, [ecx]
mov eax, dword [ebx - 0x24]
test eax, eax
je 0x4349e3
mov eax, dword [esi + 0x1c]
cdq
idiv dword [ecx - 0xc]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x20]
cdq
idiv dword [ecx - 8]
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov ebp, eax
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, dword [esp + 0x1c]
sar edi, 3
test eax, eax
mov dword [esp + 0x3c], ebp
jle 0x4349df
mov edx, dword [esp + 0x10]
xor eax, eax
test edx, edx
mov dword [esp + 0x28], eax
jle 0x4349cd
mov edx, dword [esp + 0x20]
add ecx, edx
mov dword [esp + 0x30], ecx
lea esp, [esp]
mov ecx, dword [esi + 0x24]
mov ebp, dword [esp + 0x14]
mov edx, ecx
imul ecx, edi
imul edx, dword [esp + 0x30]
add edx, eax
mov eax, dword [ebx + 0xdf0]
add edx, ebp
shl ecx, 2
lea eax, [eax + edx*4]
mov edx, ecx
lea ecx, [esp + 0x44]
mov ebx, 2
lea esp, [esp]
mov ebp, dword [eax]
mov dword [ecx - 4], ebp
mov ebp, dword [eax + 4]
mov dword [ecx], ebp
mov ebp, dword [eax + 8]
mov dword [ecx + 4], ebp
mov ebp, dword [eax + 0xc]
mov dword [ecx + 8], ebp
mov ebp, dword [eax + 0x10]
mov dword [ecx + 0xc], ebp
mov ebp, dword [eax + 0x14]
mov dword [ecx + 0x10], ebp
mov ebp, dword [eax + 0x18]
mov dword [ecx + 0x14], ebp
mov ebp, dword [eax + 0x1c]
mov dword [ecx + 0x18], ebp
mov ebp, dword [eax + edx]
mov dword [ecx + 0x1c], ebp
mov ebp, dword [eax + edx + 4]
mov dword [ecx + 0x20], ebp
mov ebp, dword [eax + edx + 8]
add eax, edx
mov dword [ecx + 0x24], ebp
mov ebp, dword [eax + 0xc]
mov dword [ecx + 0x28], ebp
mov ebp, dword [eax + 0x10]
mov dword [ecx + 0x2c], ebp
mov ebp, dword [eax + 0x14]
mov dword [ecx + 0x30], ebp
mov ebp, dword [eax + 0x18]
mov dword [ecx + 0x34], ebp
mov ebp, dword [eax + 0x1c]
mov dword [ecx + 0x38], ebp
mov ebp, dword [eax + edx]
mov dword [ecx + 0x3c], ebp
mov ebp, dword [eax + edx + 4]
add eax, edx
mov dword [ecx + 0x40], ebp
mov ebp, dword [eax + 8]
mov dword [ecx + 0x44], ebp
mov ebp, dword [eax + 0xc]
mov dword [ecx + 0x48], ebp
mov ebp, dword [eax + 0x10]
mov dword [ecx + 0x4c], ebp
mov ebp, dword [eax + 0x14]
mov dword [ecx + 0x50], ebp
mov ebp, dword [eax + 0x18]
mov dword [ecx + 0x54], ebp
mov ebp, dword [eax + 0x1c]
add eax, edx
mov dword [ecx + 0x58], ebp
mov ebp, dword [eax]
mov dword [ecx + 0x5c], ebp
mov ebp, dword [eax + 4]
mov dword [ecx + 0x60], ebp
mov ebp, dword [eax + 8]
mov dword [ecx + 0x64], ebp
mov ebp, dword [eax + 0xc]
mov dword [ecx + 0x68], ebp
mov ebp, dword [eax + 0x10]
mov dword [ecx + 0x6c], ebp
mov ebp, dword [eax + 0x14]
mov dword [ecx + 0x70], ebp
mov ebp, dword [eax + 0x18]
mov dword [ecx + 0x74], ebp
mov ebp, dword [eax + 0x1c]
mov dword [ecx + 0x78], ebp
add eax, edx
add ecx, 0x80
dec ebx
jne 0x434760
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0x40]
push ecx
push edx
mov edx, dword [ebx - 0x10]
imul edx, edx, 0x156
test eax, eax
mov eax, dword [ebx]
je 0x434874
imul eax, eax, 0x156
lea ecx, [eax + esi + 0x730]
push ecx
lea eax, [edx + esi + 0x1d8]
push eax
mov ecx, esi
call fcn.00433610
jmp 0x434891
imul eax, eax, 0x156
lea ecx, [eax + esi + 0x730]
push ecx
lea eax, [edx + esi + 0x1d8]
push eax
mov ecx, esi
call fcn.00433520
test eax, eax
je 0x434a67
mov ecx, dword [esi + 0x24]
imul ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
add ecx, edx
mov edx, dword [ebx + 0xdf0]
add ecx, eax
lea ecx, [edx + ecx*4]
lea eax, [esp + 0x44]
mov edx, 2
nop
mov ebp, dword [eax - 4]
mov dword [ecx], ebp
mov ebp, dword [eax]
mov dword [ecx + 4], ebp
mov ebp, dword [eax + 4]
mov dword [ecx + 8], ebp
mov ebp, dword [eax + 8]
mov dword [ecx + 0xc], ebp
mov ebp, dword [eax + 0xc]
mov dword [ecx + 0x10], ebp
mov ebp, dword [eax + 0x10]
mov dword [ecx + 0x14], ebp
mov ebp, dword [eax + 0x14]
mov dword [ecx + 0x18], ebp
mov ebp, dword [eax + 0x18]
mov dword [ecx + 0x1c], ebp
mov ebp, dword [esi + 0x24]
imul ebp, edi
lea ecx, [ecx + ebp*4]
mov ebp, dword [eax + 0x1c]
mov dword [ecx], ebp
mov ebp, dword [eax + 0x20]
mov dword [ecx + 4], ebp
mov ebp, dword [eax + 0x24]
mov dword [ecx + 8], ebp
mov ebp, dword [eax + 0x28]
mov dword [ecx + 0xc], ebp
mov ebp, dword [eax + 0x2c]
mov dword [ecx + 0x10], ebp
mov ebp, dword [eax + 0x30]
mov dword [ecx + 0x14], ebp
mov ebp, dword [eax + 0x34]
mov dword [ecx + 0x18], ebp
mov ebp, dword [eax + 0x38]
mov dword [ecx + 0x1c], ebp
mov ebp, dword [esi + 0x24]
imul ebp, edi
lea ecx, [ecx + ebp*4]
mov ebp, dword [eax + 0x3c]
mov dword [ecx], ebp
mov ebp, dword [eax + 0x40]
mov dword [ecx + 4], ebp
mov ebp, dword [eax + 0x44]
mov dword [ecx + 8], ebp
mov ebp, dword [eax + 0x48]
mov dword [ecx + 0xc], ebp
mov ebp, dword [eax + 0x4c]
mov dword [ecx + 0x10], ebp
mov ebp, dword [eax + 0x50]
mov dword [ecx + 0x14], ebp
mov ebp, dword [eax + 0x54]
mov dword [ecx + 0x18], ebp
mov ebp, dword [eax + 0x58]
mov dword [ecx + 0x1c], ebp
mov ebp, dword [esi + 0x24]
imul ebp, edi
lea ecx, [ecx + ebp*4]
mov ebp, dword [eax + 0x5c]
mov dword [ecx], ebp
mov ebp, dword [eax + 0x60]
mov dword [ecx + 4], ebp
mov ebp, dword [eax + 0x64]
mov dword [ecx + 8], ebp
mov ebp, dword [eax + 0x68]
mov dword [ecx + 0xc], ebp
mov ebp, dword [eax + 0x6c]
mov dword [ecx + 0x10], ebp
mov ebp, dword [eax + 0x70]
mov dword [ecx + 0x14], ebp
mov ebp, dword [eax + 0x74]
mov dword [ecx + 0x18], ebp
mov ebp, dword [eax + 0x78]
mov dword [ecx + 0x1c], ebp
mov ebp, dword [esi + 0x24]
imul ebp, edi
add eax, 0x80
dec edx
lea ecx, [ecx + ebp*4]
jne 0x4348c0
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
add eax, edx
cmp eax, ecx
mov dword [esp + 0x28], eax
jl 0x434730
mov ecx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x3c]
mov eax, dword [esp + 0x1c]
add ecx, ebp
cmp ecx, eax
mov dword [esp + 0x2c], ecx
jl 0x434710
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
mov edx, dword [esi + 0xc0]
inc eax
add ecx, 0x14
add ebx, 4
cmp eax, edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], ebx
jl 0x4346d0
mov edi, dword [esi + 0xeb0]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
dec edi
mov dword [esi + 0xeb0], edi
mov ecx, dword [esi + 0x14]
add eax, edx
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x434600
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x18]
add eax, edx
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x4345e0
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x130
ret
mov eax, dword [esi]
push str.Bad_DCT_data:_incorrect_restart_marker
mov ecx, esi
call dword [eax + 0x20]
push eax
call fcn.00405880
add esp, 8
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x130
ret