Function at 0x4656f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, ecx
mov al, byte [esi + 0x27]
test al, al
push edi
jne 0x465f45
mov edi, dword [esi + 0xc]
mov eax, dword [edi + 0x48]
test eax, eax
jne 0x46572a
mov dword [esi + 0x28], fcn.00541ff0
mov dword [esi + 0x2c], fcn.00541ff0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, byte [esi + 0x26]
cmp eax, 4
ja case.default.0x465737
jmp dword [eax*4 + 0x4660d0]
mov ecx, dword [edi + 0x78]
mov eax, dword [edi + 0xdc]
mov edx, dword [ecx + eax*4 + 0x2a0]
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], 0x460fc0
mov ecx, dword [edi + 0xc]
cmp ecx, 2
mov dword [esp + 0x18], 0xffff
jne 0x465777
mov dword [esi + 0x28], 0x465390
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 4]
mov edx, dword [esi + 8]
lea ebp, [esi + 4]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0xdc]
xor ebx, ebx
cmp eax, 8
mov dword [esp + 0x2c], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x30], eax
ja case.default.0x4657a5
jmp dword [eax*4 + 0x4660e4]
test ecx, ecx
mov edi, dword [edi + 0x4c]
movzx ebx, byte [edi + 0x408]
mov dword [esp + 0x14], ebx
je case.default.0x4657a5
movzx ecx, word [esi + 6]
movzx eax, word [esi + 8]
movzx edx, word [ebp]
movzx ebx, byte [edi + 0x1407]
add eax, ecx
lea ecx, [eax + edx + 3]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov cx, word [eax*2 + 0x5daf0c]
mov word [esp + 0x18], cx
jmp case.default.0x4657a5
push ebp
mov ecx, edi
call fcn.00458b60
mov ecx, dword [edi + 0xc]
test ecx, ecx
mov dword [esp + 0x14], eax
jne 0x465818
mov ebx, eax
jmp case.default.0x4657a5
lea edx, [esp + 0x20]
push edx
push eax
mov ecx, edi
call fcn.00458b20
movzx ecx, word [esi + 8]
movzx eax, word [esp + 0x24]
movzx ebx, word [esp + 0x22]
sub eax, ecx
movzx ecx, word [esi + 6]
sub ebx, ecx
movzx ecx, word [ebp]
movzx ebp, word [esp + 0x20]
sub ebp, ecx
test eax, eax
mov dword [esp + 0x28], ecx
mov edx, eax
jge 0x465852
neg edx
test ebx, ebx
jge 0x465860
mov ecx, ebx
neg ecx
mov dword [esp + 0x20], ecx
jmp 0x465864
mov dword [esp + 0x20], ebx
test ebp, ebp
mov ecx, ebp
jge 0x46586c
neg ecx
add ecx, edx
add ecx, dword [esp + 0x20]
cmp ecx, 8
mov dword [esp + 0x20], ecx
jge 0x465884
mov ebx, dword [esp + 0x14]
jmp case.default.0x4657a5
movzx ecx, word [esi + 8]
sub ecx, eax
push ecx
call fcn.00459050
mov word [esp + 0x20], ax
movzx eax, word [esi + 6]
sub eax, ebx
push eax
call fcn.00459050
mov word [esp + 0x22], ax
mov eax, dword [esp + 0x30]
sub eax, ebp
push eax
call fcn.00459050
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov word [esp + 0x1c], ax
call fcn.00458b60
lea edx, [esp + 0x18]
mov ebx, eax
push edx
push ebx
mov ecx, edi
call fcn.00458b20
movzx ecx, word [esi + 8]
movzx eax, word [esp + 0x1c]
movzx edx, word [esi + 6]
mov ebp, dword [esp + 0x28]
sub eax, ecx
movzx ecx, word [esp + 0x1a]
sub ecx, edx
movzx edx, word [esp + 0x18]
sub edx, ebp
test eax, eax
jge 0x4658fc
neg eax
test ecx, ecx
jge 0x465902
neg ecx
test edx, edx
jge 0x465908
neg edx
mov edi, dword [esp + 0x20]
lea ebp, [edx + edi]
add ebp, ecx
add ebp, eax
mov eax, edi
shl eax, 4
cdq
idiv ebp
cmp eax, 0xf
jle 0x465925
mov eax, 0xf
mov ax, word [eax*2 + 0x5daf0c]
mov word [esp + 0x18], ax
jmp case.default.0x4657a5
push ebp
call fcn.00456970
movzx ecx, ax
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x1c], ecx
call fcn.00456970
add esp, 8
movzx ebx, ax
jmp case.default.0x4657a5
push ebp
call fcn.004569a0
movzx eax, ax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x1c], eax
call fcn.004569a0
add esp, 8
movzx ebx, ax
jmp case.default.0x4657a5
push ebp
call fcn.00402650
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x1c], eax
call fcn.00402650
add esp, 8
jmp 0x4659ac
push 0xff
push ebp
call fcn.00402650
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x30]
push 0xff
push eax
call fcn.00402650
add esp, 0x10
mov ebx, eax
mov eax, dword [esi + 0x38]
test eax, eax
jne 0x4659d4
mov eax, dword [esp + 0x30]
cmp eax, 4
jl 0x4659c7
cmp eax, 8
jg 0x4659c7
push 4
jmp 0x4659c9
push 0x40
call fcn.0043f000
add esp, 4
mov dword [esi + 0x38], eax
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0xdc]
push ecx
mov ecx, dword [esp + 0x18]
push 4
push edx
mov edx, dword [eax + 0x70]
movzx eax, word [esp + 0x24]
push ebx
push ecx
and edx, 3
push edx
push eax
call fcn.00459070
add esp, 0x1c
mov byte [esi + 0x27], 1
mov dword [esi], 0x80008000
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x28], fcn.00541ff0
mov dword [esi + 0x2c], 0x464740
mov byte [esi + 0x27], 1
mov dword [esi], 0x80008000
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x28], fcn.00541ff0
mov dword [esi + 0x2c], 0x464a40
mov byte [esi + 0x27], 1
mov dword [esi], 0x80008000
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esi + 0x38]
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x466048
mov ebp, dword [ebx + 0xc]
cmp ebp, 6
je 0x465a76
mov ecx, ebx
call fcn.0043e630
test eax, eax
je 0x466048
mov eax, dword [ebx + 0x24]
test eax, eax
jne 0x465a86
cmp ebp, 6
je 0x466048
mov al, byte [esi + 0x24]
test al, al
mov dword [esi + 0x28], 0x464b10
mov eax, 0x4612f0
jne 0x465a9e
mov eax, fcn.0045f6f0
mov dword [esi + 0x2c], eax
mov ecx, dword [edi + 4]
call fcn.0046b990
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 0x24]
mov dword [eax + 0x64], ecx
mov eax, dword [esi + 0x38]
mov edx, dword [eax + 0x28]
mov dword [eax + 0x68], edx
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 0x2c]
mov dword [eax + 0x88], ecx
mov eax, dword [esi + 0x38]
mov edx, dword [eax + 0x30]
mov dword [eax + 0x8c], edx
mov eax, dword [esi + 0x38]
mov dword [eax + 0x60], esi
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
mov dword [eax + 0x6c], edx
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x70], edx
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x78], edx
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x7c], edx
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x465b1b
add ecx, 4
jmp 0x465b1d
xor ecx, ecx
mov dword [eax + 0x74], ecx
mov eax, dword [esi + 0x38]
mov edx, dword [eax + 4]
mov ecx, dword [edx + 0x24]
mov dword [eax + 0x84], ecx
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 0x4c]
test eax, eax
je 0x465b40
add eax, 0x408
jmp 0x465b42
xor eax, eax
mov ecx, dword [esi + 0x38]
mov dword [ecx + 0x80], eax
mov edi, dword [esi + 0x38]
mov eax, dword [edi + 0x40]
test eax, eax
lea ecx, [edi + 0x40]
je 0x465ce8
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 0xc8]
mov ebp, 7
cmp eax, ebp
mov ebx, 0x100
jl 0x465b86
call fcn.00443320
test eax, eax
je 0x465b86
cmp word [edi + 0x44], bx
je 0x465ce8
push 0x414
call fcn.0043f000
mov edx, eax
add esp, 4
test edx, edx
je 0x465ba8
mov ecx, 0x105
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, edx
jmp 0x465baa
xor edi, edi
test edi, edi
mov eax, dword [esi + 0x38]
mov dword [eax + 0x54], edi
je 0x465cef
mov eax, dword [esi + 0x38]
cmp word [eax + 0x44], bx
jl 0x465bd3
cmp word [eax + 0x46], 0
jl 0x465bd3
mov al, byte [esi + 0x24]
test al, al
jne 0x465bd3
xor eax, eax
jmp 0x465bd8
mov eax, 1
mov byte [edi + 0x400], al
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0xc8], ebp
jl 0x465c12
mov ecx, dword [esi + 0x38]
add ecx, 0x40
call fcn.00443320
test eax, eax
je 0x465c12
mov byte [edi + 0x400], 3
mov edx, dword [esi + 0x38]
mov ax, word [edx + 0x44]
mov word [edi + 0x40a], ax
jmp 0x465cef
mov ecx, dword [esi + 0x38]
mov dx, word [ecx + 0x44]
mov word [edi + 0x40a], dx
mov eax, dword [esi + 0x38]
mov cx, word [eax + 0x48]
mov word [edi + 0x408], cx
mov edx, dword [esi + 0x38]
mov ax, word [edx + 0x4c]
mov word [edi + 0x406], ax
mov ecx, dword [esi + 0x38]
mov dx, word [ecx + 0x50]
mov word [edi + 0x404], dx
mov eax, dword [esi + 0x38]
mov cx, word [eax + 0x46]
mov word [edi + 0x412], cx
mov edx, dword [esi + 0x38]
mov ax, word [edx + 0x4a]
mov word [edi + 0x410], ax
mov ecx, dword [esi + 0x38]
mov dx, word [ecx + 0x4e]
mov word [edi + 0x40e], dx
mov eax, dword [esi + 0x38]
mov cx, word [eax + 0x52]
mov word [edi + 0x40c], cx
mov eax, dword [esi + 0x38]
movsx edx, word [eax + 0x4a]
movsx eax, word [eax + 0x48]
push edi
push edx
push eax
call fcn.004591e0
mov eax, dword [esi + 0x38]
movsx edx, word [eax + 0x4e]
movsx eax, word [eax + 0x4c]
lea ecx, [edi + 0x100]
push ecx
push edx
push eax
call fcn.004591e0
mov eax, dword [esi + 0x38]
movsx edx, word [eax + 0x52]
movsx eax, word [eax + 0x50]
lea ecx, [edi + 0x200]
push ecx
push edx
push eax
call fcn.004591e0
mov eax, dword [esi + 0x38]
movsx ecx, word [eax + 0x46]
movsx edx, word [eax + 0x44]
add edi, 0x300
push edi
push ecx
push edx
call fcn.004591e0
add esp, 0x30
mov byte [edi], 0
jmp 0x465cef
mov dword [edi + 0x54], 0
mov eax, dword [esi + 0x38]
mov dword [eax + 0x5c], 0
mov ecx, dword [esi + 0x38]
mov byte [ecx + 2], 0
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 0xc8]
mov ebp, 8
cmp eax, ebp
mov ebx, 2
jl 0x465d7c
mov eax, dword [esi + 0x38]
or byte [eax + 2], bl
mov eax, dword [esi + 0xc]
test byte [eax + 4], 4
je 0x465d2d
mov eax, dword [esi + 0x38]
or byte [eax + 2], 4
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 0x64]
mov edx, dword [eax + 0x88]
cmp ecx, edx
mov edi, ecx
jl 0x465d41
mov edi, edx
mov ecx, dword [eax + 0x68]
mov edx, dword [eax + 0x8c]
cmp ecx, edx
jl 0x465d50
mov ecx, edx
xor edx, edx
test edi, edi
setge dl
dec edx
and edx, edi
test ecx, ecx
mov dword [eax + 0x90], edx
jge 0x465d6f
mov eax, dword [esi + 0x38]
mov dword [eax + 0x94], ecx
jmp 0x465d7c
mov ecx, dword [esi + 0x38]
mov dword [ecx + 0x94], 0
mov eax, dword [esi + 0x38]
mov edx, dword [eax + 4]
mov edi, dword [edx + 0xc]
cmp edi, 6
je 0x465f4d
mov ecx, dword [esi + 0xc]
test byte [ecx + 4], 1
je 0x465dd3
test byte [eax], bl
jne 0x465dd3
mov ecx, dword [eax + 0x24]
test ecx, ecx
jge 0x465da4
neg ecx
add ecx, 0xf
and ecx, 0xffffffe0
cmp ecx, 0x10000
jne 0x465e12
mov ecx, dword [eax + 0x28]
test ecx, ecx
mov edx, ecx
jge 0x465dbd
neg edx
add edx, 0xf
test edx, 0xffffffe0
jne 0x465e12
test ecx, ecx
jne 0x465e12
mov ecx, dword [eax + 0x2c]
test ecx, ecx
jne 0x465e12
cmp edi, 6
je 0x465f4d
mov ecx, dword [esi + 0xc]
test byte [ecx + 4], 1
je 0x465f4d
cmp dword [ecx + 0xc8], ebp
jl 0x465f4d
test byte [eax], bl
jne 0x465f4d
mov edx, dword [eax + 0x34]
mov ecx, 0xffff
test ecx, edx
jne 0x465e12
test dword [eax + 0x38], ecx
je 0x465f4d
or byte [eax + 2], 1
mov al, byte [0x6348b0]
test al, al
je 0x465e37
mov eax, dword [esi + 0x38]
mov edx, dword [eax + 4]
mov ecx, dword [edx + 0xc]
mov edx, dword [esi + 0xc]
mov edx, dword [edx + 0x78]
mov ecx, dword [edx + ecx*4 + 0x3c8]
jmp 0x465e5d
mov al, byte [esi + 0x24]
test al, al
mov eax, dword [esi + 0x38]
mov edx, dword [eax + 4]
mov ecx, dword [edx + 0xc]
mov edx, dword [esi + 0xc]
mov edx, dword [edx + 0x78]
je 0x465e56
mov ecx, dword [edx + ecx*4 + 0x390]
jmp 0x465e5d
mov ecx, dword [edx + ecx*4 + 0x374]
mov dword [eax + 0x58], ecx
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0xc8], ebp
jl case.default.0x465737
mov eax, dword [esi + 0x38]
mov edx, dword [eax + 4]
mov edx, dword [edx + 0xc]
mov ecx, dword [ecx + 0x78]
mov edx, dword [ecx + edx*4 + 0x3ac]
mov dword [eax + 0x58], edx
emms
mov eax, dword [esi + 0x38]
fild dword [eax + 0x88]
sub esp, 8
fild dword [eax + 0x64]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp qword [esp]
fstp st(0)
fstp st(0)
call fcn.004ebdb0
mov eax, dword [esi + 0x38]
fstp qword [esp + 0x38]
fild dword [eax + 0x8c]
fild dword [eax + 0x68]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp qword [esp]
fstp st(0)
fstp st(0)
call fcn.004ebdb0
fstp qword [esp + 0x28]
add esp, 8
fld qword [0x5d76c8]
fsub qword [esp + 0x30]
fmul qword [0x5d76d8]
fstp qword [esp + 0x28]
fld qword [esp + 0x28]
fistp dword [esp + 0x30]
fld qword [0x5d76c8]
mov eax, dword [esi + 0x38]
fsub qword [esp + 0x20]
mov edx, dword [eax + 0x90]
mov ecx, dword [esp + 0x30]
sub edx, ecx
fmul qword [0x5d76d8]
mov dword [eax + 0x90], edx
fstp qword [esp + 0x28]
fld qword [esp + 0x28]
fistp dword [esp + 0x30]
mov eax, dword [esi + 0x38]
mov edx, dword [esp + 0x30]
mov ecx, dword [eax + 0x94]
sub ecx, edx
mov dword [eax + 0x94], ecx
mov byte [esi + 0x27], 1
mov dword [esi], 0x80008000
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + 0x78]
mov ecx, dword [edx + edi*4 + 0x358]
mov dword [eax + 0x58], ecx
mov edx, dword [esi + 0x38]
mov eax, dword [edx + 0x54]
test eax, eax
jne 0x465f94
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0xdc]
cmp ecx, 3
jne 0x465f7a
cmp dword [eax + 8], ebx
jge 0x465f94
mov eax, dword [eax + 0x78]
mov ecx, dword [eax + ecx*4 + 0x334]
test ecx, ecx
je 0x465f94
mov eax, dword [edx + 4]
mov eax, dword [eax + 0xc]
mov ecx, dword [ecx + eax*4]
mov dword [edx + 0x5c], ecx
mov edx, dword [esi + 0xc]
cmp dword [edx + 0xc8], ebp
jl case.default.0x465737
emms
mov eax, dword [esi + 0x38]
fild dword [eax + 0x88]
sub esp, 8
fild dword [eax + 0x64]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp qword [esp]
fstp st(0)
fstp st(0)
call fcn.004ebdb0
mov eax, dword [esi + 0x38]
fstp qword [esp + 0x38]
fild dword [eax + 0x8c]
fild dword [eax + 0x68]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp qword [esp]
fstp st(0)
fstp st(0)
call fcn.004ebdb0
fstp qword [esp + 0x28]
add esp, 8
fld qword [esp + 0x30]
fmul qword [0x5d76d8]
fstp qword [esp + 0x28]
fld qword [esp + 0x28]
fistp dword [esp + 0x30]
mov eax, dword [esi + 0x38]
fld qword [esp + 0x20]
mov edx, dword [eax + 0x90]
fmul qword [0x5d76d8]
mov ecx, dword [esp + 0x30]
add edx, ecx
fstp qword [esp + 0x28]
mov dword [eax + 0x90], edx
fld qword [esp + 0x28]
fistp dword [esp + 0x30]
mov eax, dword [esi + 0x38]
mov edx, dword [esp + 0x30]
mov ecx, dword [eax + 0x94]
add ecx, edx
jmp 0x465f35
push 0
mov ecx, esi
call fcn.00458f50
mov dword [esi + 0x28], 0x465390
mov dword [esi + 0x2c], 0x460fc0
mov byte [esi + 0x27], 1
mov dword [esi], 0x80008000
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [esi + 0x24]
test al, al
mov dword [esi + 0x28], 0x465290
jne 0x46608b
mov eax, dword [esi + 0x34]
test eax, eax
mov eax, fcn.00460f60
je 0x466090
mov eax, 0x461060
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x38]
mov ecx, dword [edi + 0x7c]
push eax
call fcn.004a79e0
mov ecx, dword [esi + 0x38]
mov dword [ecx + 0x90], eax
mov edx, dword [esi + 0x38]
mov eax, dword [edx + 0x90]
test eax, eax
jne case.default.0x465737
pop edi
mov dword [esi + 0x28], 0x465390
mov dword [esi + 0x2c], 0x460fc0
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret