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

Disassembly:
sub esp, 0x134
mov eax, dword [0x59c6b8]
xor eax, esp
mov dword [esp + 0x130], eax
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x8c], 1
jne 0x47314d
xor eax, eax
cmp dword [esi + 0xc0], edi
jle 0x473131
lea ecx, [esi + 0x7c]
cmp dword [ecx], edi
jne 0x473131
inc eax
add ecx, 4
cmp eax, dword [esi + 0xc0]
jl 0x473121
lea eax, [eax + eax*4]
lea ecx, [esi + eax*4]
mov eax, dword [esi + 0x1c]
cdq
idiv dword [ecx + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x20]
cdq
idiv dword [ecx + 0x34]
mov ebp, eax
jmp 0x473157
mov ecx, dword [esi + 0x1c]
mov ebp, dword [esi + 0x20]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x1c], edi
cmp dword [esi + 0x18], edi
jle 0x4735a1
push ebx
lea esp, [esp]
mov dword [esp + 0x1c], edi
cmp dword [esi + 0x14], edi
jle 0x473571
lea ecx, [ecx]
cmp dword [esi + 0xd0], edi
jle 0x473224
cmp dword [esi + 0xdb8], edi
jne 0x473224
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp eax, 0xff
je 0x4731b0
cmp eax, 0xffffffff
jne 0x473198
mov edi, edi
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp eax, 0xff
je 0x4731b0
cmp eax, edi
je 0x473198
mov ecx, dword [esi + 0xdbc]
cmp eax, ecx
jne 0x473586
lea eax, [ecx + 1]
mov dword [esi + 0xdbc], eax
cmp eax, 0xd8
jne 0x4731ed
mov dword [esi + 0xdbc], 0xd0
mov ecx, dword [esi + 0xd0]
xor eax, eax
mov dword [esi + 0xdc8], edi
mov dword [esi + 0xdb8], ecx
cmp dword [esi + 0xc0], edi
jle 0x47321e
lea ecx, [esi + 0x3c]
lea esp, [esp]
mov dword [ecx], edi
inc eax
add ecx, 0x14
cmp eax, dword [esi + 0xc0]
jl 0x473210
mov dword [esi + 0xdc0], edi
mov dword [esp + 0x34], edi
cmp dword [esi + 0xc0], edi
jle 0x473556
lea ebx, [esi + 0xa0]
lea ecx, [esi + 0x3c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], ecx
cmp dword [ebx - 0x24], edi
je 0x473533
mov eax, dword [esi + 0x1c]
cdq
idiv dword [ecx - 0xc]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x20]
cdq
idiv dword [ecx - 8]
mov ecx, eax
cdq
and edx, 7
lea edi, [edx + eax]
sar edi, 3
mov dword [esp + 0x3c], ecx
test ebp, ebp
jle 0x47352d
mov edx, dword [esp + 0x20]
mov dword [esp + 0x18], edx
jmp 0x473290
xor eax, eax
mov dword [esp + 0x28], eax
cmp dword [esp + 0x14], eax
jle 0x473517
mov ecx, dword [esi + 0x24]
imul ecx, dword [esp + 0x18]
mov edx, dword [ebx + 0xcfc]
add ecx, eax
add ecx, dword [esp + 0x1c]
mov ebx, 2
lea eax, [edx + ecx*4]
mov edx, dword [esi + 0x24]
imul edx, edi
add edx, edx
add edx, edx
lea ecx, [esp + 0x44]
lea ebx, [ebx]
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
sub ecx, 0xffffff80
dec ebx
jne 0x4732d0
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx]
lea eax, [esp + 0x40]
imul edx, edx, 0x156
push eax
push ecx
mov ecx, dword [ebx - 0x10]
imul ecx, ecx, 0x156
cmp dword [esi + 0xc], 0
lea eax, [edx + esi + 0x830]
lea edx, [ecx + esi + 0x2d8]
push eax
push edx
mov ecx, esi
je 0x4733e0
call fcn.00471d50
jmp 0x4733e5
call fcn.00471c70
test eax, eax
je 0x4735a0
mov eax, dword [esi + 0x24]
imul eax, dword [esp + 0x18]
add eax, dword [esp + 0x28]
mov ecx, dword [ebx + 0xcfc]
add eax, dword [esp + 0x1c]
mov edx, 2
lea ecx, [ecx + eax*4]
lea eax, [esp + 0x44]
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
sub eax, 0xffffff80
dec edx
lea ecx, [ecx + ebp*4]
jne 0x473410
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x14]
jl 0x4732a0
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x18], ecx
add eax, ecx
mov dword [esp + 0x2c], eax
cmp eax, ebp
jl 0x473290
mov ecx, dword [esp + 0x10]
xor edi, edi
mov eax, dword [esp + 0x34]
inc eax
add ecx, 0x14
add ebx, 4
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], ebx
cmp eax, dword [esi + 0xc0]
jl 0x473245
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x14]
dec dword [esi + 0xdb8]
mov dword [esp + 0x1c], eax
cmp eax, dword [esi + 0x14]
jl 0x473180
mov eax, dword [esp + 0x20]
add eax, ebp
mov dword [esp + 0x20], eax
cmp eax, dword [esi + 0x18]
jl 0x473170
jmp 0x4735a0
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
push str.Bad_DCT_data:_incorrect_restart_marker
mov ecx, esi
call eax
push edx
push eax
push 1
call fcn.00412330
add esp, 0x10
pop ebx
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00511afd
add esp, 0x134
ret