Function at 0x416280
Capabilities:
Enumerate pe sections

Disassembly:
test dword [0x87ed4c], 0xfffff000
jne 0x4162b0
test dword [0x87ed4c], 0xffffffff
jne 0x416620
call fcn.007663a0
jmp fcn.00416280
push edi
push esi
push ebp
push ebx
sub esp, 0x84
mov ecx, dword [edx]
mov ebx, eax
mov dword [esp + 0x74], edx
mov dword [esp + 0x40], ecx
test ecx, ecx
je 0x41650b
mov ecx, edx
xor esi, esi
mov eax, dword [ecx + 0x18]
movzx edx, byte [eax + 2]
movzx ebp, byte [eax + 3]
movzx ecx, byte [eax + 4]
movzx edi, byte [eax + 5]
mov dword [esp + 8], eax
shl edx, 8
add edx, ebp
movzx ebp, byte [eax + 7]
mov dword [esp + 0xc], edx
shl ecx, 0x18
shl edi, 0x10
add ecx, edi
movzx edx, byte [eax + 6]
movzx edi, byte [eax + 9]
shl edx, 8
add edx, ebp
lea ebp, [esi + esi]
add ecx, edx
movzx edx, byte [eax + 8]
shl edx, 0x18
shl edi, 0x10
add edx, edi
movzx edi, byte [eax + 0xa]
movzx eax, byte [eax + 0xb]
adc esi, 0
shl edi, 8
add edi, eax
add edx, edi
adc esi, 0
add ebp, edx
mov edx, dword [ebx + 0x14]
add ecx, esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ecx
lea eax, [edx + edx]
test eax, eax
mov eax, dword [esp + 8]
jle 0x416388
mov ebp, dword [esp + 0x74]
xor ecx, ecx
movzx edx, byte [eax + ecx*4 + 0xc]
movzx esi, byte [eax + ecx*4 + 0xd]
movzx edi, byte [eax + ecx*4 + 0xe]
movzx eax, byte [eax + ecx*4 + 0xf]
shl edx, 0x18
shl esi, 0x10
add edx, esi
shl edi, 8
add edi, eax
add edx, edi
mov dword [esp + ecx*4 + 0x18], edx
mov edx, dword [ebx + 0x14]
inc ecx
lea eax, [edx + edx]
cmp ecx, eax
jge 0x416388
mov eax, dword [ebp + 0x18]
jmp 0x416351
mov ebp, dword [ebx + 0x18]
cmp dword [esp + 0xc], 1
jle 0x41651e
mov eax, 1
add edx, edx
mov dword [esp + 0x78], ebp
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x74]
mov ebp, dword [edx + 0x18]
mov dword [esp + 0x80], eax
imul ebx, eax
xor esi, esi
movzx edx, byte [ebp + ebx + 4]
movzx ecx, byte [ebp + ebx + 5]
movzx eax, byte [ebp + ebx + 6]
movzx edi, byte [ebp + ebx + 7]
shl edx, 0x18
shl ecx, 0x10
add edx, ecx
lea ecx, [esi + esi]
shl eax, 8
add eax, edi
movzx edi, byte [ebp + ebx + 9]
add edx, eax
movzx eax, byte [ebp + ebx + 8]
shl eax, 0x18
shl edi, 0x10
add eax, edi
movzx edi, byte [ebp + ebx + 0xa]
movzx ebx, byte [ebp + ebx + 0xb]
adc esi, 0
shl edi, 8
add edi, ebx
add eax, edi
adc esi, 0
add ecx, eax
mov eax, dword [esp + 0x80]
add edx, esi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x7c]
test edx, edx
jle 0x416602
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0x74]
xor ecx, ecx
mov esi, eax
imul esi, dword [ebx + 0x18]
add esi, dword [ebp + 0x18]
movzx edi, byte [esi + ecx*4 + 0xc]
movzx edx, byte [esi + ecx*4 + 0xd]
shl edi, 0x18
shl edx, 0x10
add edi, edx
movzx edx, byte [esi + ecx*4 + 0xe]
movzx esi, byte [esi + ecx*4 + 0xf]
shl edx, 8
add edx, esi
add edi, edx
mov dword [esp + ecx*4 + 0x4c], edi
inc ecx
mov edx, dword [ebx + 0x14]
lea edi, [edx + edx]
cmp ecx, edi
jl 0x416438
mov ebx, dword [esp + 8]
add edx, edx
cmp dword [ebx + 0x258], 0
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x78], ecx
jne 0x4164cb
test edx, edx
jle 0x4165e2
xor ecx, ecx
movss xmm0, dword [esp + ecx*4 + 0x18]
minss xmm0, dword [esp + ecx*4 + 0x4c]
movss xmm1, dword [esp + ecx*4 + 0x50]
maxss xmm1, dword [esp + ecx*4 + 0x1c]
movss dword [esp + ecx*4 + 0x18], xmm0
movss dword [esp + ecx*4 + 0x1c], xmm1
add ecx, 2
cmp ecx, edx
jl 0x416493
inc eax
cmp eax, dword [esp + 0xc]
jl 0x4163a5
jmp 0x416516
test edx, edx
jle 0x4165f2
xor ecx, ecx
mov ebx, dword [esp + ecx*4 + 0x18]
mov ebp, dword [esp + ecx*4 + 0x4c]
mov esi, dword [esp + ecx*4 + 0x50]
mov edi, dword [esp + ecx*4 + 0x1c]
cmp ebx, ebp
cmovl ebp, ebx
mov dword [esp + ecx*4 + 0x18], ebp
cmp esi, edi
cmovge edi, esi
mov dword [esp + ecx*4 + 0x1c], edi
add ecx, 2
cmp ecx, edx
jl 0x4164d5
inc eax
cmp eax, dword [esp + 0xc]
jl 0x4163a5
jmp 0x416516
add esp, 0x84
pop ebx
pop ebp
pop esi
pop edi
ret
mov ebp, dword [esp + 0x78]
mov ebx, dword [esp + 8]
mov edx, dword [esp + 0x74]
mov ecx, dword [edx + 8]
mov eax, dword [edx + 0xc]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov eax, ebx
call fcn.00415cf0
mov edx, dword [esp + 8]
imul eax, ebp
mov ebp, dword [esp + 0x40]
mov ecx, edx
shr ecx, 0x18
mov esi, dword [ebp + 0x18]
lea ebp, [eax + esi + 4]
mov byte [ebp], cl
mov eax, edx
shr eax, 0x10
mov ecx, edx
shr ecx, 8
mov byte [ebp + 1], al
mov eax, dword [esp + 0xc]
mov byte [ebp + 2], cl
mov ecx, eax
shr ecx, 0x10
mov byte [ebp + 3], dl
mov edx, eax
shr edx, 0x18
mov byte [ebp + 4], dl
mov edx, eax
shr edx, 8
mov byte [ebp + 5], cl
mov byte [ebp + 6], dl
mov byte [ebp + 7], al
mov edi, dword [ebx + 0x14]
add ebp, 8
add edi, edi
test edi, edi
jle 0x4165c5
xor esi, esi
mov eax, dword [esp + esi*4 + 0x18]
mov ecx, eax
shr ecx, 0x18
mov byte [ebp], cl
mov edx, eax
shr edx, 0x10
inc esi
mov byte [ebp + 1], dl
mov edx, eax
shr edx, 8
mov byte [ebp + 2], dl
mov byte [ebp + 3], al
mov edi, dword [ebx + 0x14]
add ebp, 4
add edi, edi
cmp esi, edi
jl 0x416599
mov edx, dword [esp + 0x40]
mov dword [edx + 0x14], 1
mov eax, ebx
call fcn.00416280
add esp, 0x84
pop ebx
pop ebp
pop esi
pop edi
ret
inc eax
cmp eax, dword [esp + 0xc]
jl 0x4163a5
jmp 0x416516
inc eax
cmp eax, dword [esp + 0xc]
jl 0x4163a5
jmp 0x416516
mov ecx, dword [esp + 8]
cmp dword [ecx + 0x258], 0
je 0x4165e2
jmp 0x4165f2
push edi
push esi
push ebp
push ebx
sub esp, 0x94
mov dword [esp + 0x44], edx
mov ebp, eax
mov ecx, dword [edx]
mov dword [esp + 0x40], ecx
test ecx, ecx
je 0x416977
mov dword [esp + 8], ebp
mov eax, edx
mov eax, dword [eax + 0x18]
movzx ecx, byte [eax + 2]
shl ecx, 8
movzx esi, byte [eax + 3]
add ecx, esi
mov dword [esp + 0x78], ecx
movzx ebp, byte [eax + 4]
xor edi, edi
shl ebp, 0x18
movzx ebx, byte [eax + 5]
shl ebx, 0x10
add ebp, ebx
movzx ecx, byte [eax + 6]
shl ecx, 8
movzx edx, byte [eax + 7]
add ecx, edx
lea esi, [edi + edi]
add ebp, ecx
mov dword [esp + 0xc], ebp
movzx ebx, byte [eax + 8]
xor ecx, ecx
shld ecx, ebx, 0x18
shl ebx, 0x18
movzx ebp, byte [eax + 9]
xor edx, edx
shld edx, ebp, 0x10
shl ebp, 0x10
add ebx, ebp
adc ecx, edx
movzx edx, byte [eax + 0xa]
shld edi, edx, 8
shl edx, 8
movzx ebp, byte [eax + 0xb]
add edx, ebp
add ebx, edx
adc ecx, edi
add esi, ebx
mov ebx, dword [esp + 0xc]
add ebx, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
mov ebp, dword [esp + 8]
mov esi, dword [ebp + 0x14]
lea ebx, [esi + esi]
test ebx, ebx
jle 0x416707
xor ecx, ecx
mov dword [esp + 8], ebp
movzx edx, byte [eax + ecx*4 + 0xc]
shl edx, 0x18
movzx ebp, byte [eax + ecx*4 + 0xd]
shl ebp, 0x10
add edx, ebp
movzx ebp, byte [eax + ecx*4 + 0xe]
shl ebp, 8
movzx edi, byte [eax + ecx*4 + 0xf]
add ebp, edi
add edx, ebp
mov dword [esp + ecx*4 + 0x18], edx
inc ecx
cmp ecx, ebx
jl 0x4166d7
mov ebp, dword [esp + 8]
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x7c], edx
cmp dword [esp + 0x78], 1
jle 0x4168c3
mov ebx, dword [ebp + 0x258]
mov edx, 1
add esi, esi
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x80], eax
mov dword [esp + 8], ebp
mov eax, dword [esp + 0x80]
movzx ebp, byte [ecx + eax + 4]
shl ebp, 0x18
movzx esi, byte [ecx + eax + 5]
shl esi, 0x10
add ebp, esi
movzx edi, byte [ecx + eax + 6]
shl edi, 8
movzx ebx, byte [ecx + eax + 7]
xor edx, edx
add edi, ebx
mov dword [esp + 0x8c], edx
add ebp, edi
mov dword [esp + 0x90], ebp
movzx esi, byte [ecx + eax + 8]
xor ebp, ebp
shld ebp, esi, 0x18
shl esi, 0x18
movzx edi, byte [ecx + eax + 9]
xor ebx, ebx
shld ebx, edi, 0x10
shl edi, 0x10
add esi, edi
adc ebp, ebx
movzx ebx, byte [ecx + eax + 0xa]
shld edx, ebx, 8
shl ebx, 8
movzx eax, byte [ecx + eax + 0xb]
add ebx, eax
add esi, ebx
adc ebp, edx
mov ebx, dword [esp + 0x8c]
add ebx, esi
mov esi, dword [esp + 0x90]
add esi, ebp
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], esi
cmp dword [esp + 0x88], 0
jle 0x4168a2
xor edx, edx
mov eax, dword [esp + 0x80]
lea ebx, [eax + ecx]
mov eax, dword [esp + 0x88]
movzx ebp, byte [ebx + edx*4 + 0xc]
shl ebp, 0x18
movzx esi, byte [ebx + edx*4 + 0xd]
shl esi, 0x10
add ebp, esi
movzx esi, byte [ebx + edx*4 + 0xe]
shl esi, 8
movzx edi, byte [ebx + edx*4 + 0xf]
add esi, edi
add ebp, esi
mov dword [esp + edx*4 + 0x50], ebp
inc edx
cmp edx, eax
jl 0x4167f3
cmp dword [esp + 0xc], 0
je 0x41685c
xor eax, eax
mov edi, dword [esp + 0x88]
mov ebx, dword [esp + eax*4 + 0x18]
mov edx, dword [esp + eax*4 + 0x50]
cmp ebx, edx
jl 0x41683d
mov ebx, edx
mov dword [esp + eax*4 + 0x18], ebx
mov esi, dword [esp + eax*4 + 0x54]
mov ebp, dword [esp + eax*4 + 0x1c]
cmp esi, ebp
jge 0x41684f
mov esi, ebp
mov dword [esp + eax*4 + 0x1c], esi
add eax, 2
cmp eax, edi
jl 0x41682f
jmp 0x4168a2
xor edx, edx
mov ebx, dword [esp + 0x88]
jmp 0x41686b
fstp dword [esp + edx*4 + 0x14]
fld dword [esp + edx*4 + 0x18]
fld dword [esp + edx*4 + 0x50]
fcom st(1)
fnstsw ax
sahf
ja 0x41687c
fst st(1)
fstp st(0)
fstp dword [esp + edx*4 + 0x18]
fld dword [esp + edx*4 + 0x54]
fld dword [esp + edx*4 + 0x1c]
fcom st(1)
fnstsw ax
sahf
jp 0x416893
jb 0x416895
fst st(1)
fstp st(0)
add edx, 2
cmp edx, ebx
jl 0x416867
fstp dword [esp + edx*4 + 0x14]
add ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x84]
inc eax
mov dword [esp + 0x84], eax
cmp eax, dword [esp + 0x78]
jl 0x416747
mov ebp, dword [esp + 8]
mov edx, dword [esp + 0x44]
mov ecx, dword [edx + 8]
mov dword [esp + 8], ecx
mov ebx, dword [edx + 0xc]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov eax, ebp
call fcn.00415cf0
imul eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x40]
mov edi, dword [esi + 0x18]
lea esi, [eax + edi + 4]
mov edx, ebx
shr edx, 0x18
mov byte [esi], dl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 1], cl
mov eax, ebx
shr eax, 8
mov byte [esi + 2], al
mov byte [esi + 3], bl
mov eax, dword [esp + 8]
mov edx, eax
shrd edx, ebx, 0x18
mov byte [esi + 4], dl
mov ecx, eax
shrd ecx, ebx, 0x10
mov byte [esi + 5], cl
mov edx, eax
shrd edx, ebx, 8
mov byte [esi + 6], dl
mov byte [esi + 7], al
add esi, 8
mov ebx, dword [ebp + 0x14]
add ebx, ebx
test ebx, ebx
jle 0x416965
xor edi, edi
mov eax, dword [esp + edi*4 + 0x18]
mov ebx, eax
shr ebx, 0x18
mov byte [esi], bl
mov ecx, eax
shr ecx, 0x10
mov byte [esi + 1], cl
mov edx, eax
shr edx, 8
mov byte [esi + 2], dl
mov byte [esi + 3], al
add esi, 4
inc edi
mov eax, dword [ebp + 0x14]
add eax, eax
cmp edi, eax
jl 0x41693a
mov edx, dword [esp + 0x40]
mov dword [edx + 0x14], 1
mov eax, ebp
call fcn.00416280
add esp, 0x94
pop ebx
pop ebp
pop esi
pop edi
ret